summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-05-17 18:26:53 +0000
committerAnders Carlsson <andersca@mac.com>2009-05-17 18:26:53 +0000
commit5262746c280993c80525afdbcd93d5a10dfccd6a (patch)
tree6639e609c17a5818c7c00b784da9c03189ea97d3 /clang/lib/Sema/Sema.h
parent23ca0b4869ca5f054f67f59333bcb15638514eed (diff)
downloadbcm5719-llvm-5262746c280993c80525afdbcd93d5a10dfccd6a.tar.gz
bcm5719-llvm-5262746c280993c80525afdbcd93d5a10dfccd6a.zip
Add the FullExprArg wrapper and use it for if statement conditions.
llvm-svn: 71982
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 9a12dfd9713..c4890499a6d 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -1172,9 +1172,9 @@ public:
IdentifierInfo *II,
SourceLocation ColonLoc,
StmtArg SubStmt);
- virtual OwningStmtResult ActOnIfStmt(SourceLocation IfLoc, ExprArg CondVal,
- StmtArg ThenVal, SourceLocation ElseLoc,
- StmtArg ElseVal);
+ virtual OwningStmtResult ActOnIfStmt(SourceLocation IfLoc,
+ FullExprArg CondVal, StmtArg ThenVal,
+ SourceLocation ElseLoc, StmtArg ElseVal);
virtual OwningStmtResult ActOnStartOfSwitchStmt(ExprArg Cond);
virtual OwningStmtResult ActOnFinishSwitchStmt(SourceLocation SwitchLoc,
StmtArg Switch, StmtArg Body);
OpenPOWER on IntegriCloud