diff options
| author | Douglas Gregor <dgregor@apple.com> | 2008-11-03 20:45:27 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2008-11-03 20:45:27 +0000 |
| commit | c28b57d70346c1844ef8d7ba233c5c1f94ab6677 (patch) | |
| tree | 5a53a083d2ab170421f13d569c9728e911beddb4 /clang/lib/Sema/Sema.h | |
| parent | 6692dec2a0ff6ad5618d8aa49f0c6fab846d6ad1 (diff) | |
| download | bcm5719-llvm-c28b57d70346c1844ef8d7ba233c5c1f94ab6677.tar.gz bcm5719-llvm-c28b57d70346c1844ef8d7ba233c5c1f94ab6677.zip | |
Implicit support for direct initialization of objects of class type, e.g.,
X x(5, 7);
llvm-svn: 58641
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 1b08a45fe88..dd7fe01bf01 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -418,7 +418,7 @@ private: Expr **Args, unsigned NumArgs, OverloadCandidateSet& CandidateSet, bool SuppressUserConversions = false); - void AddOverloadCandidates(OverloadedFunctionDecl *Ovl, + void AddOverloadCandidates(const OverloadedFunctionDecl *Ovl, Expr **Args, unsigned NumArgs, OverloadCandidateSet& CandidateSet, bool SuppressUserConversions = false); @@ -710,6 +710,12 @@ public: SourceLocation *CommaLocs, SourceLocation RParenLoc); + CXXConstructorDecl * + PerformDirectInitForClassType(QualType ClassType, + Expr **Args, unsigned NumArgs, + SourceLocation Loc, SourceRange Range, + std::string InitEntity, bool HasInitializer); + /// ActOnCXXNamedCast - Parse {dynamic,static,reinterpret,const}_cast's. virtual ExprResult ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, SourceLocation LAngleBracketLoc, TypeTy *Ty, |

