]> granicus.if.org Git - clang/commit
[PCH] In ASTReader::completeVisibleDeclsMap, after we loaded all visible decls, mark
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 26 Apr 2012 18:34:14 +0000 (18:34 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 26 Apr 2012 18:34:14 +0000 (18:34 +0000)
commit394e5392febc66a5511003fd24d540c51beffdd9
tree21e0baec45d4c6e5626dbb07fdba94be548ca765
parent1de9d7de172379d6af75fd11dda2a713e4f36f62
[PCH] In ASTReader::completeVisibleDeclsMap, after we loaded all visible decls, mark
the declaration context as not having external visible storage any more.

This should improve performance as we won't needlessly reload the visible decls multiple times
and seems to fix the i386 crash in rdar://11327522.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155649 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReader.cpp