summaryrefslogtreecommitdiffstats
path: root/clang/Sema/Sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Sema/Sema.h')
-rw-r--r--clang/Sema/Sema.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h
index ff2e5d1fd04..b6d47971f0b 100644
--- a/clang/Sema/Sema.h
+++ b/clang/Sema/Sema.h
@@ -285,6 +285,11 @@ public:
virtual ExprResult ParseTypesCompatibleExpr(SourceLocation BuiltinLoc,
TypeTy *arg1, TypeTy *arg2,
SourceLocation RPLoc);
+
+ // __builtin_choose_expr(constExpr, expr1, expr2)
+ virtual ExprResult ParseChooseExpr(SourceLocation BuiltinLoc,
+ ExprTy *cond, ExprTy *expr1, ExprTy *expr2,
+ SourceLocation RPLoc);
/// ParseCXXCasts - Parse {dynamic,static,reinterpret,const}_cast's.
virtual ExprResult ParseCXXCasts(SourceLocation OpLoc, tok::TokenKind Kind,
OpenPOWER on IntegriCloud