From ba901b507fc36408fe6f8478e8ac90b554f1d230 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sun, 24 Oct 2010 17:26:46 +0000 Subject: Introduce a DeclsToRewrite field in ASTWrite, used for collecting the decls that will be replaced in the chained PCH. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117238 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Serialization/ASTWriter.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/clang/Serialization/ASTWriter.h') diff --git a/include/clang/Serialization/ASTWriter.h b/include/clang/Serialization/ASTWriter.h index 71d20dda5e..d6b1467576 100644 --- a/include/clang/Serialization/ASTWriter.h +++ b/include/clang/Serialization/ASTWriter.h @@ -223,6 +223,10 @@ private: /// to this set, so that we can write out lexical content updates for it. llvm::SmallPtrSet UpdatedNamespaces; + typedef llvm::SmallPtrSet DeclsToRewriteTy; + /// \brief Decls that will be replaced in the current dependent AST file. + DeclsToRewriteTy DeclsToRewrite; + /// \brief Decls that have been replaced in the current dependent AST file. /// /// When a decl changes fundamentally after being deserialized (this shouldn't -- cgit v1.2.3-18-g5258