diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-10-17 14:55:37 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-10-17 14:55:37 +0000 |
commit | 05edf668f0984bfa2994ddc8bb7b78d9fb24cf11 (patch) | |
tree | 518a104278cc89a71032ba303596fe885ab0f0ed /include/clang/Frontend/PreprocessorOptions.h | |
parent | c35cba4a54106117a52b267c7040b3bea9a4d18e (diff) |
When building a module, use the macro definitions on the command line
as part of the hash rather than ignoring them. This means we'll end up
building more module variants (overall), but it allows configuration
macros such as NDEBUG to work so long as they're specified via command
line. More to come in this space.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/PreprocessorOptions.h')
-rw-r--r-- | include/clang/Frontend/PreprocessorOptions.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/clang/Frontend/PreprocessorOptions.h b/include/clang/Frontend/PreprocessorOptions.h index 30a34060b2..0ee8cb3874 100644 --- a/include/clang/Frontend/PreprocessorOptions.h +++ b/include/clang/Frontend/PreprocessorOptions.h @@ -206,7 +206,6 @@ public: /// \brief Reset any options that are not considered when building a /// module. void resetNonModularOptions() { - Macros.clear(); Includes.clear(); MacroIncludes.clear(); ChainedIncludes.clear(); |