summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReaderStmt.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-06-15 11:24:54 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-06-15 11:24:54 +0000
commit61deb4dadc1682c044e1c3910ec45d36d9452fba (patch)
tree920d3e3d671cb73f19a5e39c096a2333858313b9 /clang/lib/Serialization/ASTReaderStmt.cpp
parentb46cdeae9f5e94b12ca321e91ddef0974440222e (diff)
downloadbcm5719-llvm-61deb4dadc1682c044e1c3910ec45d36d9452fba.tar.gz
bcm5719-llvm-61deb4dadc1682c044e1c3910ec45d36d9452fba.zip
Revert accidential "[MSVC] Late parsing of in-class defined member functions in template"
This reverts commit 0253605771b8bd9d414aba74fe2742c730d6fd1a. llvm-svn: 272776
Diffstat (limited to 'clang/lib/Serialization/ASTReaderStmt.cpp')
-rw-r--r--clang/lib/Serialization/ASTReaderStmt.cpp20
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]);
OpenPOWER on IntegriCloud