Put the mechanism in place to track modifications in an AST entity that were committe...
commitd9f2c76d28b9f8b2c58282666fc18f592c722496
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Sun, 24 Oct 2010 17:26:36 +0000 (24 17:26 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Sun, 24 Oct 2010 17:26:36 +0000 (24 17:26 +0000)
tree534ddbf567967924e8defe105d20f1d749813927
parent9a38d95650238c0f09437da901230d0b0803fc04
Put the mechanism in place to track modifications in an AST entity that were committed after
its initial creation/deserialization and store the changes in a chained PCH.

The idea is that the AST entities call methods on the ASTMutationListener to give notifications
of changes; the PCHWriter implements the ASTMutationListener interface and stores the incremental changes
of the updated entity. WIP

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117235 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/clang/AST/ASTConsumer.h
include/clang/AST/ASTContext.h
include/clang/AST/ASTMutationListener.h [new file with mode: 0644]
include/clang/AST/DeclBase.h
include/clang/Serialization/ASTBitCodes.h
include/clang/Serialization/ASTDeserializationListener.h
include/clang/Serialization/ASTReader.h
include/clang/Serialization/ASTWriter.h
lib/AST/ASTContext.cpp
lib/AST/DeclBase.cpp
lib/AST/DeclCXX.cpp
lib/Frontend/FrontendAction.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
lib/Serialization/GeneratePCH.cpp