diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-10-31 02:28:58 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-10-31 02:28:58 +0000 |
commit | 1e2cf0dd4bd7c76fc5a7862e42e2bac2da451fc7 (patch) | |
tree | a3e3b09843dd8512b605135326be004408011503 /clang/lib/Frontend/FrontendActions.cpp | |
parent | d5e7ff856c2c8d58cb1ef4ed0bce838a70215b18 (diff) | |
download | bcm5719-llvm-1e2cf0dd4bd7c76fc5a7862e42e2bac2da451fc7.tar.gz bcm5719-llvm-1e2cf0dd4bd7c76fc5a7862e42e2bac2da451fc7.zip |
[modules] When a .pcm file is explicitly built separately from the translation
unit, allow the -O settings of the two compilations to differ.
llvm-svn: 220943
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
-rw-r--r-- | clang/lib/Frontend/FrontendActions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/FrontendActions.cpp b/clang/lib/Frontend/FrontendActions.cpp index 6634e19fc2c..6a2ac60570d 100644 --- a/clang/lib/Frontend/FrontendActions.cpp +++ b/clang/lib/Frontend/FrontendActions.cpp @@ -431,8 +431,8 @@ namespace { Out.indent(2) << "Module map file: " << ModuleMapPath << "\n"; } - bool ReadLanguageOptions(const LangOptions &LangOpts, - bool Complain) override { + bool ReadLanguageOptions(const LangOptions &LangOpts, bool Complain, + bool AllowCompatibleDifferences) override { Out.indent(2) << "Language options:\n"; #define LANGOPT(Name, Bits, Default, Description) \ DUMP_BOOLEAN(LangOpts.Name, Description); |