diff options
author | Chris Lattner <sabre@nondot.org> | 2007-07-21 06:32:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-07-21 06:32:11 +0000 |
commit | aa4166c6c86e174362c0dc4e2cb63345f72cc5a0 (patch) | |
tree | a863da54f868ad10795e57a4ef3adcf4e918d71b | |
parent | 96f1a6403d5011c44ba75e6d70d0779da2413cad (diff) |
implement getSourceRange for ImplicitCast
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40264 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Expr.h b/include/clang/AST/Expr.h index 86762f1af4..73dce8ede4 100644 --- a/include/clang/AST/Expr.h +++ b/include/clang/AST/Expr.h @@ -493,7 +493,7 @@ public: Expr *getSubExpr() { return Op; } const Expr *getSubExpr() const { return Op; } - virtual SourceRange getSourceRange() const { return SourceRange(); } // FIXME + virtual SourceRange getSourceRange() const { return Op->getSourceRange(); } virtual void visit(StmtVisitor &Visitor); static bool classof(const Stmt *T) { |