]> granicus.if.org Git - clang/commit
Start fleshing out ASTMutationListener; notify when a tag definition is completed.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 24 Oct 2010 17:26:50 +0000 (17:26 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 24 Oct 2010 17:26:50 +0000 (17:26 +0000)
commit565bf30bf5607b9740d288d8d9c45cf38ea75298
treecb635a792a071ec4f0ef432d8d87e0a1dc56bbf2
parentba901b507fc36408fe6f8478e8ac90b554f1d230
Start fleshing out ASTMutationListener; notify when a tag definition is completed.

In that case a chained PCH will record the updates to the DefinitionData pointer of forward references.
If a forward reference mutated into a definition re-write it into the chained PCH, this is too big of a change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117239 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTMutationListener.h
include/clang/Serialization/ASTWriter.h
lib/AST/Decl.cpp
lib/Serialization/ASTCommon.h
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
test/PCH/chain-cxx.cpp