diff options
author | Sean Callanan <scallanan@apple.com> | 2015-07-08 00:13:49 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2015-07-08 00:13:49 +0000 |
commit | 007135e612e5dd2b9d9f22d777efda6d1c1b6010 (patch) | |
tree | a5455ef10bdaa53f5b94428794d8fe173beaad5e /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | ce400d9ab4e39920e871e5836c32ed45ebed5ded (diff) | |
download | llvm-007135e612e5dd2b9d9f22d777efda6d1c1b6010.zip llvm-007135e612e5dd2b9d9f22d777efda6d1c1b6010.tar.gz llvm-007135e612e5dd2b9d9f22d777efda6d1c1b6010.tar.bz2 |
Fixed the C modules test case on Darwin by streamlining its code.
We don't need to do the fancy dance with checking whether the iterator
represents a #define -- in fact, that's the wrong thing to do. The thing to do
is check whether the highest-priority module that did something to the module
#defined or #undefd it. If it #defined it, then the MacroInfo* will be non-NULL
and we're good to go.
llvm-svn: 241651
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions