aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/SourceManager.h
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-25 20:52:21 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-25 20:52:21 +0000
commit999f739404edf2078cf9f9c28b4dc45c19765842 (patch)
tree2181c2a8dd9c0fe11e8627b2349cd1640ebbd7e7 /include/clang/Basic/SourceManager.h
parent5d6d89fef8c7fff8b1a67c943fb5557a2a803468 (diff)
Rename SourceManager::getImmediateInstantiationRange to
getImmediateExpansionRange. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
-rw-r--r--include/clang/Basic/SourceManager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h
index 6ade7b4ed5..6627391df9 100644
--- a/include/clang/Basic/SourceManager.h
+++ b/include/clang/Basic/SourceManager.h
@@ -732,10 +732,10 @@ public:
return getInstantiationLocSlowCase(Loc);
}
- /// getImmediateInstantiationRange - Loc is required to be an instantiation
- /// location. Return the start/end of the instantiation information.
+ /// getImmediateExpansionRange - Loc is required to be an expansion location.
+ /// Return the start/end of the expansion information.
std::pair<SourceLocation,SourceLocation>
- getImmediateInstantiationRange(SourceLocation Loc) const;
+ getImmediateExpansionRange(SourceLocation Loc) const;
/// getExpansionRange - Given a SourceLocation object, return the range of
/// tokens covered by the expansion the ultimate file.