diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-15 19:35:01 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-15 19:35:01 +0000 |
commit | b86b8dc7ef89405205f94635c1073cdb1a7093eb (patch) | |
tree | 31b8e89368366243825b07fcab61c4a359796f2c /lib/Basic/LangOptions.cpp | |
parent | 0b69d132583217d4072421e3e83fa1f3942d854a (diff) |
Add a -cc1-level option -fmodule-name=<name>, which will be used when
building modules.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/LangOptions.cpp')
-rw-r--r-- | lib/Basic/LangOptions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Basic/LangOptions.cpp b/lib/Basic/LangOptions.cpp index 5f479dbb77..991992a477 100644 --- a/lib/Basic/LangOptions.cpp +++ b/lib/Basic/LangOptions.cpp @@ -26,5 +26,7 @@ void LangOptions::resetNonModularOptions() { #define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ Name = Default; #include "clang/Basic/LangOptions.def" + + CurrentModule.clear(); } |