[modules] Properly attribute macros to modules if they're in a file textually include...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 23 Apr 2015 22:58:06 +0000 (22:58 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 23 Apr 2015 22:58:06 +0000 (22:58 +0000)
commit2a553089c30fc3cda435ffef90bc3d2976d531d1
tree36aaf69b6d024f83b070c4fe887bf75baecc5cb8
parent10ed96bf094170f12a49ea5e6be2c43ac8640a18
[modules] Properly attribute macros to modules if they're in a file textually included into a file in the module.

llvm-svn: 235661
clang/include/clang/Lex/Preprocessor.h
clang/lib/Lex/PPDirectives.cpp
clang/lib/Lex/PPLexerChange.cpp
clang/lib/Lex/PPMacroExpansion.cpp
clang/test/Modules/Inputs/macros-indirect.h [new file with mode: 0644]
clang/test/Modules/Inputs/macros.h
clang/test/Modules/macros.c