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 | 1108e7b87365cbb1f82122b20be284be66b65e0d (patch) | |
tree | 403d4997a9d413be7cc15cdf9e64fd746274abcc /clang/lib/Index/ASTLocation.cpp | |
parent | 7c38f153ac1830d808659d3091b86f2246f480ca (diff) | |
download | bcm5719-llvm-1108e7b87365cbb1f82122b20be284be66b65e0d.tar.gz bcm5719-llvm-1108e7b87365cbb1f82122b20be284be66b65e0d.zip |
Renamed misleading getSourceRange -> getLocalSourceRange and getFullSourceRange -> getSourceRange for TypeLoc.
llvm-svn: 104220
Diffstat (limited to 'clang/lib/Index/ASTLocation.cpp')
-rw-r--r-- | clang/lib/Index/ASTLocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/ASTLocation.cpp b/clang/lib/Index/ASTLocation.cpp index 091bc78c266..bd3b5ee8bf9 100644 --- a/clang/lib/Index/ASTLocation.cpp +++ b/clang/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(); |