aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/MultiplexConsumer.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2011-04-24 16:27:54 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2011-04-24 16:27:54 +0000
commit024e1c400ec1d23dd76659395f87272da59a2cbd (patch)
treeda0b42e3487d0a6db9632815944a8c32fef039a2 /lib/Frontend/MultiplexConsumer.cpp
parentd941fa4ff0d0d64b5a541dbd4f99693bff7f6e8d (diff)
On reading DeclContexts from PCH, check for visible updates even if the context was empty in the original version. Also, if there are any, tell the context that it has external visible decls. This fixes the problem that a namespace that was empty in the initial PCH (could also happen if the initial PCH didn't include any std header but caused implicit creation of namespace std, e.g. due to implicit declaration of a virtual destructor) never found any declaration declared in *any* chained PCH. Very ugly when the chained PCH includes all that std stuff, as the errors were effectively the same as not including std headers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130102 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/MultiplexConsumer.cpp')
0 files changed, 0 insertions, 0 deletions