| commit | 6fa1682368f192f7148392d3136455664aab2f1b | [log] [tgz] |
|---|---|---|
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Sep 21 01:30:00 2012 +0000 |
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Fri Sep 21 01:30:00 2012 +0000 |
| tree | e879257299ba3539c45c1feb030e5b49462a0457 | |
| parent | 1a38004c1b3f13ad79af443226bf67b2f8d286d2 [diff] |
[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