aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 9f891f2..64800b1 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -4245,13 +4245,8 @@ static bool ParsePreprocessorArgs(PreprocessorOptions &Opts, ArgList &Args,
// Always avoid lexing editor placeholders when we're just running the
// preprocessor as we never want to emit the
// "editor placeholder in source file" error in PP only mode.
- // Certain predefined macros which depend upon semantic processing,
- // for example __FLT_EVAL_METHOD__, are not expanded in PP mode, they
- // appear in the preprocessed output as an unexpanded macro name.
- if (isStrictlyPreprocessorAction(Action)) {
+ if (isStrictlyPreprocessorAction(Action))
Opts.LexEditorPlaceholders = false;
- Opts.LexExpandSpecialBuiltins = false;
- }
return Diags.getNumErrors() == NumErrorsBefore;
}