[cfe-commits] r43044 - /cfe/trunk/include/clang/AST/Expr.h

Chris Lattner sabre at nondot.org
Tue Oct 16 14:21:27 PDT 2007


Author: lattner
Date: Tue Oct 16 16:21:26 2007
New Revision: 43044

URL: http://llvm.org/viewvc/llvm-project?rev=43044&view=rev
Log:
publish location info

Modified:
    cfe/trunk/include/clang/AST/Expr.h

Modified: cfe/trunk/include/clang/AST/Expr.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Expr.h?rev=43044&r1=43043&r2=43044&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Expr.h (original)
+++ cfe/trunk/include/clang/AST/Expr.h Tue Oct 16 16:21:26 2007
@@ -1077,6 +1077,9 @@
                  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; }





More information about the cfe-commits mailing list