diff options
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index 4bb54824fe..321471d597 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -559,6 +559,18 @@ public: virtual ExprResult ActOnCXXThrow(SourceLocation OpLoc, ExprTy *expr); + /// ActOnCXXTypeConstructExpr - Parse construction of a specified type. + /// Can be interpreted either as function-style casting ("int(x)") + /// or class type construction ("ClassType(x,y,z)") + /// or creation of a value-initialized type ("int()"). + virtual ExprResult ActOnCXXTypeConstructExpr(SourceRange TypeRange, + TypeTy *TypeRep, + SourceLocation LParenLoc, + ExprTy **Exprs, + unsigned NumExprs, + SourceLocation *CommaLocs, + SourceLocation RParenLoc); + // ParseObjCStringLiteral - Parse Objective-C string literals. virtual ExprResult ParseObjCStringLiteral(SourceLocation *AtLocs, ExprTy **Strings, |