diff options
author | Melanie Blower <melanie.blower@intel.com> | 2021-07-20 16:40:55 -0400 |
---|---|---|
committer | Melanie Blower <melanie.blower@intel.com> | 2021-07-20 16:40:55 -0400 |
commit | d48ad358b1e84698f1070cec50c7586b78865265 (patch) | |
tree | 0a0503a87fbfb9d1c0de66736946292aac8e5bf7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | edfdb5fcd10779905ef960c8d4aa61d46b57f451 (diff) | |
download | llvm-d48ad358b1e84698f1070cec50c7586b78865265.zip llvm-d48ad358b1e84698f1070cec50c7586b78865265.tar.gz llvm-d48ad358b1e84698f1070cec50c7586b78865265.tar.bz2 |
Revert "[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly"
This reverts commit ce8024e8ff76e7be8b9ffa1a39d1dc9310bf74c7.
There are a couple buildbot problems
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 4c266f5..2c696b5 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -4239,13 +4239,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; } |