[modules] Build a DAG of module macros for each identifier.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 22 Apr 2015 00:26:11 +0000 (00:26 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 22 Apr 2015 00:26:11 +0000 (00:26 +0000)
commite56c8bc30eedf02be9558a90a788600b49e24873
treeaa3f8c49f856b65e7d2fa8a5c57c470e1c400e32
parentfe1365ac50d39e837bbe2172efeff890cf53915b
[modules] Build a DAG of module macros for each identifier.

This graph will be used to determine the current set of active macros. This is
foundation work for getting macro visibility correct across submodules of the
current module. No functionality change for now.

llvm-svn: 235461
clang/include/clang/Lex/MacroInfo.h
clang/include/clang/Lex/Preprocessor.h
clang/include/clang/Serialization/ASTReader.h
clang/lib/Lex/MacroInfo.cpp
clang/lib/Lex/PPMacroExpansion.cpp
clang/lib/Serialization/ASTReader.cpp