diff options
author | Steve Naroff <snaroff@apple.com> | 2008-12-04 19:10:03 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-12-04 19:10:03 +0000 |
commit | 3fa1fff997eb9119b922aa18934d0a5f7364a1d7 (patch) | |
tree | 54e4424eafcfd35f690433fc4b5c9ffb5bb56f9c | |
parent | a96ac060debe3b83caa5c4ddba0c44a44b4499fe (diff) |
Fix build breakage from my previous commit.
Will discuss with Chris...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60545 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/ExprObjC.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/clang/AST/ExprObjC.h b/include/clang/AST/ExprObjC.h index 04b5d754d9..6cf01bc3aa 100644 --- a/include/clang/AST/ExprObjC.h +++ b/include/clang/AST/ExprObjC.h @@ -15,7 +15,6 @@ #define LLVM_CLANG_AST_EXPROBJC_H #include "clang/AST/Expr.h" -#include "clang/AST/DeclObjC.h" #include "clang/Basic/IdentifierTable.h" namespace clang { @@ -214,9 +213,7 @@ public: } virtual SourceRange getSourceRange() const { - unsigned IDLen = AsProperty->getIdentifier()->getLength(); - return SourceRange(getBase()->getLocStart(), - IdLoc.getFileLocWithOffset(IDLen-1)); + return SourceRange(getBase()->getLocStart(), IdLoc); } const Expr *getBase() const { return cast<Expr>(Base); } Expr *getBase() { return cast<Expr>(Base); } |