Skip to content
Commit 6fa16823 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[PCH] After deserializing a DeclContext, if it has external lexical decls but not

external visible decls, call DeclContext::setMustBuildLookupTable so that the
"lazy decls" bit of the LookupPtr is set.

Previously, in non-C++, if there were no new declarations causing the "lazy decls" bit
to be set, then DeclContext::lookups_begin() would fail to return the decls from the PCH.

Fixes rdar://12316296.

llvm-svn: 164351
parent 1a38004c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment