summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/SourceLocation.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-25 21:09:52 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-25 21:09:52 +0000
commitd48db2115a51ac2c815c7786522d1e836aa5bc4c (patch)
treea6145325d4e5212b25581fa04d952a4c2e805c59 /clang/lib/Basic/SourceLocation.cpp
parent3ddf6aa50392ad0ef40689b104cd6d0f99e70904 (diff)
downloadbcm5719-llvm-d48db2115a51ac2c815c7786522d1e836aa5bc4c.tar.gz
bcm5719-llvm-d48db2115a51ac2c815c7786522d1e836aa5bc4c.zip
Rename getInstantiationLineNumber to getExpansionLineNumber in both
SourceManager and FullSourceLoc. llvm-svn: 135969
Diffstat (limited to 'clang/lib/Basic/SourceLocation.cpp')
-rw-r--r--clang/lib/Basic/SourceLocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Basic/SourceLocation.cpp b/clang/lib/Basic/SourceLocation.cpp
index f6c604b9401..a13bbc51544 100644
--- a/clang/lib/Basic/SourceLocation.cpp
+++ b/clang/lib/Basic/SourceLocation.cpp
@@ -85,9 +85,9 @@ FullSourceLoc FullSourceLoc::getSpellingLoc() const {
return FullSourceLoc(SrcMgr->getSpellingLoc(*this), *SrcMgr);
}
-unsigned FullSourceLoc::getInstantiationLineNumber(bool *Invalid) const {
+unsigned FullSourceLoc::getExpansionLineNumber(bool *Invalid) const {
assert(isValid());
- return SrcMgr->getInstantiationLineNumber(*this, Invalid);
+ return SrcMgr->getExpansionLineNumber(*this, Invalid);
}
unsigned FullSourceLoc::getExpansionColumnNumber(bool *Invalid) const {
OpenPOWER on IntegriCloud