projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove a couple of redundant copies of SmallVector::operator==.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
StringSwitch.h
diff --git
a/include/llvm/ADT/StringSwitch.h
b/include/llvm/ADT/StringSwitch.h
index 7fd6e27960321a3e680fecf87d3f0467486ca01b..0393a0c373efc5f2becc640cef6b01c4bf368184 100644
(file)
--- a/
include/llvm/ADT/StringSwitch.h
+++ b/
include/llvm/ADT/StringSwitch.h
@@
-49,7
+49,7
@@
class StringSwitch {
public:
explicit StringSwitch(StringRef S)
- : Str(S), Result(
0
) { }
+ : Str(S), Result(
nullptr
) { }
template<unsigned N>
StringSwitch& Case(const char (&S)[N], const T& Value) {