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 | f164204baa68975c26d43cab7cc70b69a1eb1542 (patch) | |
tree | 98d4aa6a2b8eafae1de519d3b7edd2754e49689f /clang/lib/Serialization/ASTWriter.cpp | |
parent | f5b13467389363f26c3b2c6ad2c216aafcbb27fe (diff) | |
download | bcm5719-llvm-f164204baa68975c26d43cab7cc70b69a1eb1542.tar.gz bcm5719-llvm-f164204baa68975c26d43cab7cc70b69a1eb1542.zip |
Rename stuff in PCHBitCodes.h
llvm-svn: 111475
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp index 2293260c2a0..af954c842f8 100644 --- a/clang/lib/Serialization/ASTWriter.cpp +++ b/clang/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); |