diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2008-12-28 16:13:43 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2008-12-28 16:13:43 +0000 |
commit | 1cbb59182cb886eb3a23ee09e33821f064a0c24e (patch) | |
tree | 8b9bc1109bcf308ffc019d1f61a935730a158534 /clang/lib/Sema/Sema.h | |
parent | 4f84ddccc8a39a6df96ad13b6ffda7b9a96d79a8 (diff) | |
download | bcm5719-llvm-1cbb59182cb886eb3a23ee09e33821f064a0c24e.tar.gz bcm5719-llvm-1cbb59182cb886eb3a23ee09e33821f064a0c24e.zip |
Convert a two more statement actions to smart pointers.
llvm-svn: 61456
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r-- | clang/lib/Sema/Sema.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 94e8a3ccccd..386639061dc 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -567,12 +567,12 @@ public: bool isStmtExpr); virtual OwningStmtResult ActOnDeclStmt(DeclTy *Decl, SourceLocation StartLoc, SourceLocation EndLoc); - virtual StmtResult ActOnCaseStmt(SourceLocation CaseLoc, ExprTy *LHSVal, - SourceLocation DotDotDotLoc, ExprTy *RHSVal, - SourceLocation ColonLoc, StmtTy *SubStmt); - virtual StmtResult ActOnDefaultStmt(SourceLocation DefaultLoc, - SourceLocation ColonLoc, StmtTy *SubStmt, - Scope *CurScope); + virtual OwningStmtResult ActOnCaseStmt(SourceLocation CaseLoc, ExprArg LHSVal, + SourceLocation DotDotDotLoc, ExprArg RHSVal, + SourceLocation ColonLoc, StmtArg SubStmt); + virtual OwningStmtResult ActOnDefaultStmt(SourceLocation DefaultLoc, + SourceLocation ColonLoc, + StmtArg SubStmt, Scope *CurScope); virtual StmtResult ActOnLabelStmt(SourceLocation IdentLoc, IdentifierInfo *II, SourceLocation ColonLoc, StmtTy *SubStmt); virtual StmtResult ActOnIfStmt(SourceLocation IfLoc, ExprTy *CondVal, |