diff options
Diffstat (limited to 'clang-tools-extra/clang-rename/USRLocFinder.cpp')
| -rw-r--r-- | clang-tools-extra/clang-rename/USRLocFinder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-rename/USRLocFinder.cpp b/clang-tools-extra/clang-rename/USRLocFinder.cpp index fdd3fbcbf8a..878c4babd28 100644 --- a/clang-tools-extra/clang-rename/USRLocFinder.cpp +++ b/clang-tools-extra/clang-rename/USRLocFinder.cpp @@ -92,7 +92,7 @@ public: // Handles "~Foo" from "Foo::~Foo". SourceLocation Location = DestructorDecl->getLocation(); const ASTContext &Context = DestructorDecl->getASTContext(); - StringRef TokenName = Lexer::getSourceText( + StringRef LLVM_ATTRIBUTE_UNUSED TokenName = Lexer::getSourceText( CharSourceRange::getTokenRange(Location), Context.getSourceManager(), Context.getLangOpts()); // 1 is the length of the "~" string that is not to be touched by the |

