diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-23 23:38:35 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-23 23:38:35 +0000 |
commit | 5354e77e60e82828c7c2361f5c688c2667ab59cc (patch) | |
tree | 045258c8a78f64df7c59527b65fd084ada8e1f09 /lib/Sema/TreeTransform.h | |
parent | c629ad4706102a6d9acf2c30a1001b78d3011bfb (diff) |
Now that ASTMultiPtr is nothing more than a array reference, make it a MutableArrayRef.
This required changing all get() calls to data() and using the simpler constructors.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/TreeTransform.h')
-rw-r--r-- | lib/Sema/TreeTransform.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Sema/TreeTransform.h b/lib/Sema/TreeTransform.h index 5b6c112804..af4f0a47fb 100644 --- a/lib/Sema/TreeTransform.h +++ b/lib/Sema/TreeTransform.h @@ -1972,8 +1972,7 @@ public: SourceLocation LParenLoc, SourceLocation RParenLoc) { return getSema().BuildCXXTypeConstructExpr(TSInfo, LParenLoc, - MultiExprArg(getSema(), 0, 0), - RParenLoc); + MultiExprArg(), RParenLoc); } /// \brief Build a new C++ "new" expression. @@ -2432,7 +2431,7 @@ public: // Build the CallExpr unsigned NumSubExprs = SubExprs.size(); - Expr **Subs = SubExprs.get(); + Expr **Subs = SubExprs.data(); ExprResult TheCall = SemaRef.Owned( new (SemaRef.Context) CallExpr(SemaRef.Context, Callee.take(), Subs, NumSubExprs, @@ -2514,7 +2513,7 @@ public: // analysis here because we can't actually build an AtomicExpr until // we are sure it is semantically sound. unsigned NumSubExprs = SubExprs.size(); - Expr **Subs = SubExprs.get(); + Expr **Subs = SubExprs.data(); return new (SemaRef.Context) AtomicExpr(BuiltinLoc, Subs, NumSubExprs, RetTy, Op, RParenLoc); |