diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-19 20:40:19 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-19 20:40:19 +0000 |
commit | a64ccefdf0ea4e03ec88805d71b0af74950c7472 (patch) | |
tree | b7cf762366eafda54454929b2c40a19f48a33e41 /lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp | |
parent | 5a4374812c56aa60672e291b07e14d3696bbb5a6 (diff) |
Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset.
It already works (and is useful with) macro locs as well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp')
-rw-r--r-- | lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp b/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp index 0b3f4c3a65..3ad05e683c 100644 --- a/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp +++ b/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp @@ -47,7 +47,7 @@ static bool isEmptyARCMTMacroStatement(NullStmt *S, SourceManager::LocBeforeThanCompare(SM)); --I; SourceLocation - AfterMacroLoc = I->getFileLocWithOffset(getARCMTMacroName().size()); + AfterMacroLoc = I->getLocWithOffset(getARCMTMacroName().size()); assert(AfterMacroLoc.isFileID()); if (AfterMacroLoc == SemiLoc) |