diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-14 08:20:40 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-14 08:20:40 +0000 |
commit | 433db06b614f26dc6829e86d6ff469e2cca7d4f9 (patch) | |
tree | fe46de17506ec5a51930b623093df6ea081a54ea /lib/ARCMigrate/TransformActions.cpp | |
parent | d0f5e443ceed37e1a72015bd109db8e5fc6206cf (diff) |
Convert terminology in the Lexer from 'instantiate' and variants to
'expand'. Also update the public API it provides to the new term, and
propagate that update to the various clients.
No functionality changed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ARCMigrate/TransformActions.cpp')
-rw-r--r-- | lib/ARCMigrate/TransformActions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ARCMigrate/TransformActions.cpp b/lib/ARCMigrate/TransformActions.cpp index 3e49942788..2e015da624 100644 --- a/lib/ARCMigrate/TransformActions.cpp +++ b/lib/ARCMigrate/TransformActions.cpp @@ -388,7 +388,7 @@ bool TransformActionsImpl::canInsert(SourceLocation loc) { if (loc.isFileID()) return true; - return PP.isAtStartOfMacroInstantiation(loc); + return PP.isAtStartOfMacroExpansion(loc); } bool TransformActionsImpl::canInsertAfterToken(SourceLocation loc) { @@ -401,7 +401,7 @@ bool TransformActionsImpl::canInsertAfterToken(SourceLocation loc) { if (loc.isFileID()) return true; - return PP.isAtEndOfMacroInstantiation(loc); + return PP.isAtEndOfMacroExpansion(loc); } bool TransformActionsImpl::canRemoveRange(SourceRange range) { |