]> granicus.if.org Git - clang/commit
Keep track of whether declararions were loaded from a precompiled
authorDouglas Gregor <dgregor@apple.com>
Fri, 16 Oct 2009 20:01:17 +0000 (20:01 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 16 Oct 2009 20:01:17 +0000 (20:01 +0000)
commit7d1d49d2971b20a97b3c2a301470b9eaaa130137
treedb7d504f9c5b0c9157160ec521423d566c585c56
parent3cecc19f606ba1000da885b8ff4c089abad224dd
Keep track of whether declararions were loaded from a precompiled
header or not via a new "PCHLevel" field in Decl. We currently use
this information to help CIndex filter out declarations that came from
a precompiled header (rather than from an AST file). Further down the
road, it can be used to help implement multi-level precompiled
headers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84267 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
include/clang/AST/DeclBase.h
include/clang/Frontend/ASTUnit.h
lib/Frontend/ASTUnit.cpp
lib/Frontend/PCHReaderDecl.cpp
lib/Frontend/PCHWriterDecl.cpp
test/Index/c-index-pch.c
tools/CIndex/CIndex.cpp
tools/CIndex/CIndex.exports
tools/c-index-test/c-index-test.c