diff options
author | Abramo Bagnara <abramo.bagnara@gmail.com> | 2010-05-20 10:00:11 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo.bagnara@gmail.com> | 2010-05-20 10:00:11 +0000 |
commit | bd054dba8a3023821f2a0951b0fae05e3522a7c9 (patch) | |
tree | 0b36a61b5fafe5ea39cb2ae293fca81758fb80b1 /lib/Index/ASTLocation.cpp | |
parent | 60dcb8432cff2455488b9226b9cc65b80356146e (diff) |
Renamed misleading getSourceRange -> getLocalSourceRange and getFullSourceRange -> getSourceRange for TypeLoc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index/ASTLocation.cpp')
-rw-r--r-- | lib/Index/ASTLocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Index/ASTLocation.cpp b/lib/Index/ASTLocation.cpp index 091bc78c26..bd3b5ee8bf 100644 --- a/lib/Index/ASTLocation.cpp +++ b/lib/Index/ASTLocation.cpp @@ -69,7 +69,7 @@ SourceRange ASTLocation::getSourceRange() const { case N_NamedRef: return SourceRange(AsNamedRef().Loc, AsNamedRef().Loc); case N_Type: - return AsTypeLoc().getSourceRange(); + return AsTypeLoc().getLocalSourceRange(); } return SourceRange(); |