Skip to content

Commit 7099dbc

Browse files
committed
split decl writing out to its own PCHWriterDecl.cpp file.
llvm-svn: 70193
1 parent 9df8a73 commit 7099dbc

File tree

4 files changed

+474
-445
lines changed

4 files changed

+474
-445
lines changed

clang/clang.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
DECB6F070F9D93A800F5FBC7 /* InitPreprocessor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECB6F060F9D93A800F5FBC7 /* InitPreprocessor.cpp */; };
175175
DECB77130FA5752300F5FBC7 /* PCHReaderStmt.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECB77120FA5752300F5FBC7 /* PCHReaderStmt.cpp */; };
176176
DECB77790FA579B000F5FBC7 /* PCHReaderDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECB77780FA579B000F5FBC7 /* PCHReaderDecl.cpp */; };
177+
DECB77F70FA5850200F5FBC7 /* PCHWriterDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECB77F60FA5850200F5FBC7 /* PCHWriterDecl.cpp */; };
177178
DED626C90AE0C065001E80A4 /* TargetInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED626C80AE0C065001E80A4 /* TargetInfo.cpp */; };
178179
DED62ABB0AE2EDF1001E80A4 /* Decl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED62ABA0AE2EDF1001E80A4 /* Decl.cpp */; };
179180
DED676D10B6C786700AAD4A3 /* Builtins.def in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED676D00B6C786700AAD4A3 /* Builtins.def */; };
@@ -587,6 +588,7 @@
587588
DECB73550FA3EE5A00F5FBC7 /* StmtCXX.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StmtCXX.h; path = clang/AST/StmtCXX.h; sourceTree = "<group>"; };
588589
DECB77120FA5752300F5FBC7 /* PCHReaderStmt.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PCHReaderStmt.cpp; path = lib/Frontend/PCHReaderStmt.cpp; sourceTree = "<group>"; };
589590
DECB77780FA579B000F5FBC7 /* PCHReaderDecl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PCHReaderDecl.cpp; path = lib/Frontend/PCHReaderDecl.cpp; sourceTree = "<group>"; };
591+
DECB77F60FA5850200F5FBC7 /* PCHWriterDecl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PCHWriterDecl.cpp; path = lib/Frontend/PCHWriterDecl.cpp; sourceTree = "<group>"; };
590592
DED626C80AE0C065001E80A4 /* TargetInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; path = TargetInfo.cpp; sourceTree = "<group>"; tabWidth = 2; };
591593
DED62ABA0AE2EDF1001E80A4 /* Decl.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = Decl.cpp; path = lib/AST/Decl.cpp; sourceTree = "<group>"; tabWidth = 2; usesTabs = 0; };
592594
DED676D00B6C786700AAD4A3 /* Builtins.def */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 2; lastKnownFileType = text; name = Builtins.def; path = clang/AST/Builtins.def; sourceTree = "<group>"; tabWidth = 2; };
@@ -815,6 +817,7 @@
815817
DECB77780FA579B000F5FBC7 /* PCHReaderDecl.cpp */,
816818
DECB77120FA5752300F5FBC7 /* PCHReaderStmt.cpp */,
817819
DEF165700F8FB34D0098507F /* PCHWriter.cpp */,
820+
DECB77F60FA5850200F5FBC7 /* PCHWriterDecl.cpp */,
818821
352246E40F5C6BE000D0D279 /* PlistDiagnostics.cpp */,
819822
352246E50F5C6BE000D0D279 /* TextDiagnosticBuffer.cpp */,
820823
352246E60F5C6BE000D0D279 /* TextDiagnosticPrinter.cpp */,
@@ -1669,6 +1672,7 @@
16691672
DECB6F070F9D93A800F5FBC7 /* InitPreprocessor.cpp in Sources */,
16701673
DECB77130FA5752300F5FBC7 /* PCHReaderStmt.cpp in Sources */,
16711674
DECB77790FA579B000F5FBC7 /* PCHReaderDecl.cpp in Sources */,
1675+
DECB77F70FA5850200F5FBC7 /* PCHWriterDecl.cpp in Sources */,
16721676
);
16731677
runOnlyForDeploymentPostprocessing = 0;
16741678
};

clang/lib/Frontend/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ add_clang_library(clangFrontend
1111
PCHReaderDecl.cpp
1212
PCHReaderStmt.cpp
1313
PCHWriter.cpp
14+
PCHWriterDecl.cpp
1415
PlistDiagnostics.cpp
1516
ManagerRegistry.cpp
1617
)

0 commit comments

Comments
 (0)