diff options
Diffstat (limited to 'clang/lib/Serialization/ASTReaderStmt.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTReaderStmt.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/clang/lib/Serialization/ASTReaderStmt.cpp b/clang/lib/Serialization/ASTReaderStmt.cpp index 578193c9eeb..15e289f6f8e 100644 --- a/clang/lib/Serialization/ASTReaderStmt.cpp +++ b/clang/lib/Serialization/ASTReaderStmt.cpp @@ -382,21 +382,6 @@ void ASTStmtReader::VisitMSAsmStmt(MSAsmStmt *S) { Constraints, Exprs, Clobbers); } -void ASTStmtReader::VisitMSLateParsedCompoundStmt(MSLateParsedCompoundStmt *S) { - VisitStmt(S); - SourceLocation LB = ReadSourceLocation(Record, Idx); - SourceLocation RB = ReadSourceLocation(Record, Idx); - std::string StringRep = ReadString(Record, Idx); - unsigned NumToks = Record[Idx++]; - - // Read the tokens. - SmallVector<Token, 16> Toks; - Toks.reserve(NumToks); - for (unsigned I = 0, E = NumToks; I != E; ++I) - Toks.push_back(ReadToken(Record, Idx)); - S->init(Reader.getContext(), LB, RB, Toks, StringRep); -} - void ASTStmtReader::VisitCoroutineBodyStmt(CoroutineBodyStmt *S) { // FIXME: Implement coroutine serialization. llvm_unreachable("unimplemented"); @@ -2882,11 +2867,6 @@ Stmt *ASTReader::ReadStmtFromStream(ModuleFile &F) { S = new (Context) MSAsmStmt(Empty); break; - case STMT_MS_LATE_PARSED_COMPOUND: - S = MSLateParsedCompoundStmt::CreateEmpty( - Context, Record[ASTStmtReader::NumStmtFields]); - break; - case STMT_CAPTURED: S = CapturedStmt::CreateDeserialized(Context, Record[ASTStmtReader::NumStmtFields]); |