forked from OSchip/llvm-project
split stmt/expr deserialization out to PCHReaderStmt.cpp
llvm-svn: 70186
This commit is contained in:
parent
f44a5bf158
commit
92ba5ffdfe
|
@ -172,6 +172,7 @@
|
|||
DECAB0D00DB3C84200E13CCB /* RewriteRope.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECAB0CF0DB3C84200E13CCB /* RewriteRope.cpp */; };
|
||||
DECB6D650F9AE26600F5FBC7 /* JumpDiagnostics.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECB6D640F9AE26600F5FBC7 /* JumpDiagnostics.cpp */; };
|
||||
DECB6F070F9D93A800F5FBC7 /* InitPreprocessor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECB6F060F9D93A800F5FBC7 /* InitPreprocessor.cpp */; };
|
||||
DECB77130FA5752300F5FBC7 /* PCHReaderStmt.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DECB77120FA5752300F5FBC7 /* PCHReaderStmt.cpp */; };
|
||||
DED626C90AE0C065001E80A4 /* TargetInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED626C80AE0C065001E80A4 /* TargetInfo.cpp */; };
|
||||
DED62ABB0AE2EDF1001E80A4 /* Decl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DED62ABA0AE2EDF1001E80A4 /* Decl.cpp */; };
|
||||
DED676D10B6C786700AAD4A3 /* Builtins.def in CopyFiles */ = {isa = PBXBuildFile; fileRef = DED676D00B6C786700AAD4A3 /* Builtins.def */; };
|
||||
|
@ -583,6 +584,7 @@
|
|||
DECB6F060F9D93A800F5FBC7 /* InitPreprocessor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = InitPreprocessor.cpp; path = lib/Frontend/InitPreprocessor.cpp; sourceTree = "<group>"; };
|
||||
DECB734E0FA3ED8400F5FBC7 /* StmtObjC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StmtObjC.h; path = clang/AST/StmtObjC.h; sourceTree = "<group>"; };
|
||||
DECB73550FA3EE5A00F5FBC7 /* StmtCXX.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StmtCXX.h; path = clang/AST/StmtCXX.h; sourceTree = "<group>"; };
|
||||
DECB77120FA5752300F5FBC7 /* PCHReaderStmt.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PCHReaderStmt.cpp; path = lib/Frontend/PCHReaderStmt.cpp; sourceTree = "<group>"; };
|
||||
DED626C80AE0C065001E80A4 /* TargetInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; path = TargetInfo.cpp; sourceTree = "<group>"; tabWidth = 2; };
|
||||
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; };
|
||||
DED676D00B6C786700AAD4A3 /* Builtins.def */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 2; lastKnownFileType = text; name = Builtins.def; path = clang/AST/Builtins.def; sourceTree = "<group>"; tabWidth = 2; };
|
||||
|
@ -808,6 +810,7 @@
|
|||
DECB6F060F9D93A800F5FBC7 /* InitPreprocessor.cpp */,
|
||||
352246E30F5C6BE000D0D279 /* ManagerRegistry.cpp */,
|
||||
DEF165740F8FB3510098507F /* PCHReader.cpp */,
|
||||
DECB77120FA5752300F5FBC7 /* PCHReaderStmt.cpp */,
|
||||
DEF165700F8FB34D0098507F /* PCHWriter.cpp */,
|
||||
352246E40F5C6BE000D0D279 /* PlistDiagnostics.cpp */,
|
||||
352246E50F5C6BE000D0D279 /* TextDiagnosticBuffer.cpp */,
|
||||
|
@ -1661,6 +1664,7 @@
|
|||
DEF168400F9548DC0098507F /* FixItRewriter.cpp in Sources */,
|
||||
DECB6D650F9AE26600F5FBC7 /* JumpDiagnostics.cpp in Sources */,
|
||||
DECB6F070F9D93A800F5FBC7 /* InitPreprocessor.cpp in Sources */,
|
||||
DECB77130FA5752300F5FBC7 /* PCHReaderStmt.cpp in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
|
|
@ -268,17 +268,8 @@ private:
|
|||
public:
|
||||
typedef llvm::SmallVector<uint64_t, 64> RecordData;
|
||||
|
||||
explicit PCHReader(Preprocessor &PP, ASTContext &Context)
|
||||
: SemaObj(0), PP(PP), Context(Context), Consumer(0),
|
||||
IdentifierTableData(0), IdentifierLookupTable(0),
|
||||
IdentifierOffsets(0),
|
||||
MethodPoolLookupTable(0), MethodPoolLookupTableData(0),
|
||||
TotalSelectorsInMethodPool(0), SelectorOffsets(0),
|
||||
TotalNumSelectors(0), NumStatementsRead(0), NumMacrosRead(0),
|
||||
NumMethodPoolSelectorsRead(0), NumMethodPoolMisses(0),
|
||||
NumLexicalDeclContextsRead(0), NumVisibleDeclContextsRead(0) { }
|
||||
|
||||
~PCHReader() {}
|
||||
explicit PCHReader(Preprocessor &PP, ASTContext &Context);
|
||||
~PCHReader();
|
||||
|
||||
PCHReadResult ReadPCH(const std::string &FileName);
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ add_clang_library(clangFrontend
|
|||
TextDiagnosticBuffer.cpp
|
||||
TextDiagnosticPrinter.cpp
|
||||
PCHReader.cpp
|
||||
PCHReaderStmt.cpp
|
||||
PCHWriter.cpp
|
||||
PlistDiagnostics.cpp
|
||||
ManagerRegistry.cpp
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue