diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-09-05 07:40:38 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-09-05 07:40:38 +0000 |
| commit | 1b4ebfab2b93e02e85d30d0176a2e635e753f901 (patch) | |
| tree | edae55910bf7d862e38304e81d9e76adc15ceae0 /clang/lib/Sema/Sema.h | |
| parent | 453fe4285db99d846326a8491a8dde8ab4e76507 (diff) | |
| download | bcm5719-llvm-1b4ebfab2b93e02e85d30d0176a2e635e753f901.tar.gz bcm5719-llvm-1b4ebfab2b93e02e85d30d0176a2e635e753f901.zip | |
Pass the ConstructLoc to BuildCXXConstructExpr.
llvm-svn: 81068
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 4b9447740ad..ba466db77a5 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -1812,13 +1812,17 @@ public: QualType DeclInitType, Expr **Exprs, unsigned NumExprs); - OwningExprResult BuildCXXConstructExpr(QualType DeclInitType, + /// BuildCXXConstructExpr - Creates a complete call to a constructor, + /// including handling of its default argument expressions. + OwningExprResult BuildCXXConstructExpr(SourceLocation ConstructLoc, + QualType DeclInitType, CXXConstructorDecl *Constructor, Expr **Exprs, unsigned NumExprs); - /// BuildCXXConstructExpr - Creates a complete call to a constructor, - /// including handling of its default argument expressions. - OwningExprResult BuildCXXConstructExpr(QualType DeclInitType, + // FIXME: Can re remove this and have the above BuildCXXConstructExpr check if + // the constructor can be elidable? + OwningExprResult BuildCXXConstructExpr(SourceLocation ConstructLoc, + QualType DeclInitType, CXXConstructorDecl *Constructor, bool Elidable, Expr **Exprs, unsigned NumExprs); |

