Merge the ASTVector and ASTOwningVector templates, since they offered
redundant functionality. The result (ASTOwningVector) lives in
clang/Parse/Ownership.h and is used by both the parser and semantic
analysis. No intended functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72214 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaTemplateInstantiateStmt.cpp b/lib/Sema/SemaTemplateInstantiateStmt.cpp
index d635dff..6d2e28a 100644
--- a/lib/Sema/SemaTemplateInstantiateStmt.cpp
+++ b/lib/Sema/SemaTemplateInstantiateStmt.cpp
@@ -314,9 +314,7 @@
}
return SemaRef.ActOnCXXTryBlock(S->getTryLoc(), move(TryBlock),
- Sema::MultiStmtArg(SemaRef,
- Handlers.take(),
- Handlers.size()));
+ move_arg(Handlers));
}
Sema::OwningStmtResult
@@ -442,8 +440,5 @@
}
return ActOnCompoundStmt(S->getLBracLoc(), S->getRBracLoc(),
- Sema::MultiStmtArg(*this,
- Statements.take(),
- Statements.size()),
- isStmtExpr);
+ move_arg(Statements), isStmtExpr);
}