diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-18 23:57:22 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-18 23:57:22 +0000 |
commit | f29f0a28c4d9599b389bbb6d186e14af753dc5a3 (patch) | |
tree | 5236a54f420673562f229e343ca95db59c30239b /lib/Serialization/ASTWriter.cpp | |
parent | 6ab7cd853e9c15cf986a8a7c3db1f8d20e275409 (diff) |
Rename stuff in PCHBitCodes.h
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | lib/Serialization/ASTWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Serialization/ASTWriter.cpp b/lib/Serialization/ASTWriter.cpp index 2293260c2a..af954c842f 100644 --- a/lib/Serialization/ASTWriter.cpp +++ b/lib/Serialization/ASTWriter.cpp @@ -614,7 +614,7 @@ void ASTWriter::WriteBlockInfoBlock() { #define RECORD(X) EmitRecordID(pch::X, #X, Stream, Record) // AST Top-Level Block. - BLOCK(PCH_BLOCK); + BLOCK(AST_BLOCK); RECORD(ORIGINAL_FILE_NAME); RECORD(TYPE_OFFSET); RECORD(DECL_OFFSET); @@ -2119,7 +2119,7 @@ void ASTWriter::WriteASTCore(Sema &SemaRef, MemorizeStatCalls *StatCalls, // Write the remaining AST contents. RecordData Record; - Stream.EnterSubblock(pch::PCH_BLOCK_ID, 5); + Stream.EnterSubblock(pch::AST_BLOCK_ID, 5); WriteMetadata(Context, isysroot); WriteLanguageOptions(Context.getLangOptions()); if (StatCalls && !isysroot) @@ -2238,7 +2238,7 @@ void ASTWriter::WriteASTChain(Sema &SemaRef, MemorizeStatCalls *StatCalls, Preprocessor &PP = SemaRef.PP; RecordData Record; - Stream.EnterSubblock(pch::PCH_BLOCK_ID, 5); + Stream.EnterSubblock(pch::AST_BLOCK_ID, 5); WriteMetadata(Context, isysroot); if (StatCalls && !isysroot) WriteStatCache(*StatCalls); |