diff options
-rw-r--r-- | clang/lib/Frontend/FrontendActions.cpp | 2 | ||||
-rw-r--r-- | clang/lib/Lex/PPMacroExpansion.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/FrontendActions.cpp b/clang/lib/Frontend/FrontendActions.cpp index c925e1f..cf98876 100644 --- a/clang/lib/Frontend/FrontendActions.cpp +++ b/clang/lib/Frontend/FrontendActions.cpp @@ -1183,7 +1183,7 @@ void DumpCompilerOptionsAction::ExecuteAction() { OS << "\n\"extensions\" : [\n"; { llvm::SmallString<128> Str; -#define EXTENSION_OPTION(Name, Predicate) \ +#define EXTENSION_OPTION(Name, Predicate) \ ("\t{\"" #Name "\" : " + llvm::Twine(Predicate ? "true" : "false") + "},\n") \ .toVector(Str); #define EXTENSION(Name, Predicate) EXTENSION_OPTION(Name, Predicate) diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp index 7cae6ac..11814fd 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -1118,7 +1118,7 @@ static bool HasExtension(const Preprocessor &PP, StringRef Extension) { #define ABI_EXTENSION(Name, Predicate) .Case(#Name, Predicate) bool IsABIExtension = llvm::StringSwitch<bool>(Extension) #include "clang/Basic/Features.def" - .Default(false); + .Default(false); #undef ABI_EXTENSION if (IsABIExtension) return true; |