summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-10-16 21:21:26 +0000
committerChris Lattner <sabre@nondot.org>2007-10-16 21:21:26 +0000
commit5a2fe28acaa6fda416ca263ba5f9afb7c3801b5a (patch)
tree3a7dfe5b10beb8a80732c31e07e5a9af6d04db07
parent8f644cef0f11dce6c2ae99fba1038b6a660feca5 (diff)
downloadbcm5719-llvm-5a2fe28acaa6fda416ca263ba5f9afb7c3801b5a.tar.gz
bcm5719-llvm-5a2fe28acaa6fda416ca263ba5f9afb7c3801b5a.zip
publish location info
llvm-svn: 43044
-rw-r--r--clang/include/clang/AST/Expr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/AST/Expr.h b/clang/include/clang/AST/Expr.h
index 0e0bdbb2cea..9a9e7c60577 100644
--- a/clang/include/clang/AST/Expr.h
+++ b/clang/include/clang/AST/Expr.h
@@ -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; }
OpenPOWER on IntegriCloud