]> granicus.if.org Git - clang/commitdiff
add accessor.
authorChris Lattner <sabre@nondot.org>
Sat, 18 Apr 2009 09:27:30 +0000 (09:27 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 18 Apr 2009 09:27:30 +0000 (09:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69436 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Stmt.h

index fa11e6e52bcad7999b5a04e2634d8417de7761c4..d76bc0b3c9166dd2a298025fe237613e5d06f47f 100644 (file)
@@ -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 {