Skip to content

Commit 7bdc9e6

Browse files
bulbazordadrian-prantl
authored andcommitted
[lldb] Fix a format string in ClangASTSource (llvm#107325)
Without this, LLDB asserts when enabling the expression logs. (cherry picked from commit 18ad98e)
1 parent 460510c commit 7bdc9e6

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
@@ -298,7 +298,7 @@ void ClangASTSource::CompleteType(clang::ObjCInterfaceDecl *interface_decl) {
298298

299299
LLDB_LOG(log,
300300
" [CompleteObjCInterfaceDecl] on (ASTContext*){0:x} '{1}' "
301-
"Completing an ObjCInterfaceDecl named {1}",
301+
"Completing an ObjCInterfaceDecl named {2}",
302302
m_ast_context, m_clang_ast_context->getDisplayName(),
303303
interface_decl->getName());
304304
LLDB_LOG(log, " [COID] Before:\n{0}",

0 commit comments

Comments
 (0)