aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/AST/Expr.h2
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) {