From: Chris Lattner Date: Sat, 18 Apr 2009 09:27:30 +0000 (+0000) Subject: add accessor. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f4e18fce5ef11a4e1bcb9dd7adcd2e20a21ef0a;p=clang add accessor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69436 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h index fa11e6e52b..d76bc0b3c9 100644 --- a/include/clang/AST/Stmt.h +++ b/include/clang/AST/Stmt.h @@ -1357,6 +1357,7 @@ public: AtTryLoc = atTryLoc; } + SourceLocation getAtTryLoc() const { return AtTryLoc; } const Stmt *getTryBody() const { return SubStmts[TRY]; } Stmt *getTryBody() { return SubStmts[TRY]; } const ObjCAtCatchStmt *getCatchStmts() const {