]> granicus.if.org Git - clang/commit
[modules] When building a module, make sure we don't serialize out HeaderFileInfo...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 8 May 2013 23:46:46 +0000 (23:46 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 8 May 2013 23:46:46 +0000 (23:46 +0000)
commitd3220dbeeadc4ac54ceecea8cf63f8d8be291d2a
tree9f65558a49db0da4baf8451865196d45f01fcf1c
parent5d2bb935afee34fa1e6fc05993a874c98a5bd1af
[modules] When building a module, make sure we don't serialize out HeaderFileInfo for headers not belonging to the module.

After r180934 we may initiate module map parsing for modules not related to the module what we are building,
make sure we ignore the header file info of headers from such modules.

First part of rdar://13840148

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181489 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/HeaderSearch.h
include/clang/Lex/ModuleMap.h
lib/Lex/HeaderSearch.cpp
lib/Lex/ModuleMap.cpp
lib/Serialization/ASTWriter.cpp
test/Modules/self-import-header/af.framework/Headers/a1.h [new file with mode: 0644]
test/Modules/self-import-header/af.framework/Headers/a2.h [new file with mode: 0644]
test/Modules/self-import-header/af.framework/module.map [new file with mode: 0644]
test/Modules/self-import-header/depend_builtin/h1.h [new file with mode: 0644]
test/Modules/self-import-header/depend_builtin/module.map [new file with mode: 0644]
test/Modules/self-import-header/test.m [new file with mode: 0644]