[cfe-commits] r124041 - in /cfe/trunk/lib/Serialization: ASTReaderDecl.cpp ASTWriter.cpp
Anders Carlsson
andersca at mac.com
Sat Jan 22 10:11:02 PST 2011
Author: andersca
Date: Sat Jan 22 12:11:02 2011
New Revision: 124041
URL: http://llvm.org/viewvc/llvm-project?rev=124041&view=rev
Log:
Serialize and deserialize IsMarkedFinal/IsMarkedExplicit.
Modified:
cfe/trunk/lib/Serialization/ASTReaderDecl.cpp
cfe/trunk/lib/Serialization/ASTWriter.cpp
Modified: cfe/trunk/lib/Serialization/ASTReaderDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReaderDecl.cpp?rev=124041&r1=124040&r2=124041&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReaderDecl.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReaderDecl.cpp Sat Jan 22 12:11:02 2011
@@ -800,6 +800,9 @@
Data.DeclaredCopyConstructor = Record[Idx++];
Data.DeclaredCopyAssignment = Record[Idx++];
Data.DeclaredDestructor = Record[Idx++];
+ Data.IsMarkedFinal = Record[Idx++];
+ Data.IsMarkedExplicit = Record[Idx++];
+
Data.NumBases = Record[Idx++];
if (Data.NumBases)
Data.Bases = Reader.GetCXXBaseSpecifiersOffset(Record[Idx++]);
Modified: cfe/trunk/lib/Serialization/ASTWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTWriter.cpp?rev=124041&r1=124040&r2=124041&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTWriter.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTWriter.cpp Sat Jan 22 12:11:02 2011
@@ -3394,6 +3394,8 @@
Record.push_back(Data.DeclaredCopyConstructor);
Record.push_back(Data.DeclaredCopyAssignment);
Record.push_back(Data.DeclaredDestructor);
+ Record.push_back(Data.IsMarkedFinal);
+ Record.push_back(Data.IsMarkedExplicit);
Record.push_back(Data.NumBases);
if (Data.NumBases > 0)
More information about the cfe-commits
mailing list