Skip to content

Commit 18ad98e

Browse files
authored
[lldb] Fix a format string in ClangASTSource (#107325)
Without this, LLDB asserts when enabling the expression logs.
1 parent 0818c28 commit 18ad98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ void ClangASTSource::CompleteType(clang::ObjCInterfaceDecl *interface_decl) {
293293

294294
LLDB_LOG(log,
295295
" [CompleteObjCInterfaceDecl] on (ASTContext*){0:x} '{1}' "
296-
"Completing an ObjCInterfaceDecl named {1}",
296+
"Completing an ObjCInterfaceDecl named {2}",
297297
m_ast_context, m_clang_ast_context->getDisplayName(),
298298
interface_decl->getName());
299299
LLDB_LOG(log, " [COID] Before:\n{0}",

0 commit comments

Comments
 (0)