]> granicus.if.org Git - clang/commitdiff
publish location info
authorChris Lattner <sabre@nondot.org>
Tue, 16 Oct 2007 21:21:26 +0000 (21:21 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Oct 2007 21:21:26 +0000 (21:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43044 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Expr.h

index 0e0bdbb2ceafa1f17fd3775b35f03c891c14f432..9a9e7c60577516adf0c5eb809eb18608ce6347d3 100644 (file)
@@ -1077,6 +1077,9 @@ public:
                  SourceLocation enc, SourceLocation rp)
     : Expr(ObjCEncodeExprClass, T), EncType(ET), EncLoc(enc), RParenLoc(rp) {}
   
+  SourceLocation getEncLoc() const { return EncLoc; }
+  SourceLocation getRParenLoc() const { return RParenLoc; }
+  
   SourceRange getSourceRange() const { return SourceRange(EncLoc, RParenLoc); }
 
   QualType getEncodedType() const { return EncType; }