diff options
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r-- | clang/lib/Sema/Sema.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 96ea4204f0c..a60c60c4e15 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -1752,16 +1752,16 @@ public: QualType DeclInitType, Expr **Exprs, unsigned NumExprs); - Expr *BuildCXXConstructExpr(QualType DeclInitType, - CXXConstructorDecl *Constructor, - Expr **Exprs, unsigned NumExprs); + OwningExprResult BuildCXXConstructExpr(QualType DeclInitType, + CXXConstructorDecl *Constructor, + Expr **Exprs, unsigned NumExprs); /// BuildCXXConstructExpr - Creates a complete call to a constructor, /// including handling of its default argument expressions. - Expr *BuildCXXConstructExpr(QualType DeclInitType, - CXXConstructorDecl *Constructor, - bool Elidable, - Expr **Exprs, unsigned NumExprs); + OwningExprResult BuildCXXConstructExpr(QualType DeclInitType, + CXXConstructorDecl *Constructor, + bool Elidable, + Expr **Exprs, unsigned NumExprs); /// BuildCXXDefaultArgExpr - Creates a CXXDefaultArgExpr, instantiating /// the default expr if needed. |