summaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/StringSwitch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/ADT/StringSwitch.h')
-rw-r--r--include/llvm/ADT/StringSwitch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/StringSwitch.h b/include/llvm/ADT/StringSwitch.h
index 7fd6e27..0393a0c 100644
--- 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) {