[libclang] When indexing an AST file, only deserialize the file level
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 2 Oct 2012 21:09:13 +0000 (21:09 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 2 Oct 2012 21:09:13 +0000 (21:09 +0000)
commit10e7846abf4e69f03dfb65b36d866c01ece66645
treec237a52fbbd973c3eea4cb769bc38695e7bc23ac
parent7768299b98ba4f5b8a4e3f627b521bb8f0e40173
[libclang] When indexing an AST file, only deserialize the file level
declarations of the current primary module.

llvm-svn: 165046
clang/include/clang/Frontend/ASTUnit.h
clang/include/clang/Serialization/ASTReader.h
clang/include/clang/Serialization/Module.h
clang/lib/Frontend/ASTUnit.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/lib/Serialization/Module.cpp
clang/tools/libclang/Indexing.cpp