Skip to content

Commit 7262cbe

Browse files
committed
fixup! remove redundant local
1 parent 4069dbf commit 7262cbe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,13 +1179,12 @@ void ClangASTImporter::ASTImporterDelegate::ImportDefinitionTo(
11791179
to_tag->setCompleteDefinition(from_tag->isCompleteDefinition());
11801180

11811181
if (Log *log_ast = GetLog(LLDBLog::AST)) {
1182-
std::string name_string = getDeclName(from);
11831182
LLDB_LOG(log_ast,
11841183
"==== [ClangASTImporter][TUDecl: {0:x}] Imported "
11851184
"({1}Decl*){2:x}, named {3} (from "
11861185
"(Decl*){4:x})",
11871186
static_cast<void *>(to->getTranslationUnitDecl()),
1188-
from->getDeclKindName(), static_cast<void *>(to), name_string,
1187+
from->getDeclKindName(), static_cast<void *>(to), getDeclName(from),
11891188
static_cast<void *>(from));
11901189

11911190
// Log the AST of the TU.

0 commit comments

Comments
 (0)