diff options
Diffstat (limited to 'include/clang/Lex/MultipleIncludeOpt.h')
-rw-r--r-- | include/clang/Lex/MultipleIncludeOpt.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/clang/Lex/MultipleIncludeOpt.h b/include/clang/Lex/MultipleIncludeOpt.h index b532bf82f049..e3c6de555b35 100644 --- a/include/clang/Lex/MultipleIncludeOpt.h +++ b/include/clang/Lex/MultipleIncludeOpt.h @@ -60,8 +60,8 @@ public: ReadAnyTokens = false; ImmediatelyAfterTopLevelIfndef = false; DidMacroExpansion = false; - TheMacro = 0; - DefinedMacro = 0; + TheMacro = nullptr; + DefinedMacro = nullptr; } SourceLocation GetMacroLocation() const { @@ -88,8 +88,8 @@ public: // below can never "accept". ReadAnyTokens = true; ImmediatelyAfterTopLevelIfndef = false; - DefinedMacro = 0; - TheMacro = 0; + DefinedMacro = nullptr; + TheMacro = nullptr; } /// getHasReadAnyTokensVal - This is used for the \#ifndef hande-shake at the @@ -166,7 +166,7 @@ public: // macro if it's valid (if it isn't, it will be null). if (!ReadAnyTokens) return TheMacro; - return 0; + return nullptr; } /// \brief If the ControllingMacro is followed by a macro definition, return |