]> granicus.if.org Git - clang/commit
PR19215: When writing/reading a PCH that imported a module, store the location
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 21 Mar 2014 00:33:59 +0000 (00:33 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 21 Mar 2014 00:33:59 +0000 (00:33 +0000)
commita969771e6b36e771684fb03aced3d61adc082806
tree712491cfe2e63bf017b472c618a9ed5499b22e0f
parent349b590647da0d690142066cf6c0d640b030fa55
PR19215: When writing/reading a PCH that imported a module, store the location
at which that PCH imported each visible submodule of the module. Such locations
are needed when synthesizing macro directives resulting from the import.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204417 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTReader.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/Modules/Inputs/macro-undef-through-pch/A.h [new file with mode: 0644]
test/Modules/Inputs/macro-undef-through-pch/foo.h [new file with mode: 0644]
test/Modules/Inputs/macro-undef-through-pch/module.map [new file with mode: 0644]
test/Modules/macro-undef-through-pch.m [new file with mode: 0644]