]> granicus.if.org Git - clang/commit
[PCH/Modules] In ASTReader::completeVisibleDeclsMap, make sure to visit all
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 19 Dec 2012 22:21:18 +0000 (22:21 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 19 Dec 2012 22:21:18 +0000 (22:21 +0000)
commitca40f30a20d0329900fa3d1e4b3252cece86ccc0
tree876e3b97e16f841fb5cab10781e68fd44701dd39
parent0bd9e727b0cb63275839a1534006ba73510271dc
[PCH/Modules] In ASTReader::completeVisibleDeclsMap, make sure to visit all
modules when getting the decls for a namespace or translation unit.

Otherwise the code-completion results will not be complete.

rdar://12889089

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170596 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReader.cpp
test/Index/codecompletion-chained.cpp [new file with mode: 0644]