From 0479afb3d6a31668631464653f07154d6850e4a1 Mon Sep 17 00:00:00 2001 From: Shafik Yaghmour Date: Tue, 17 Aug 2021 16:29:00 -0700 Subject: [PATCH] [LLDB] Fix off by one logging placeholders in ClangASTSource::layoutRecordType() D72391 Added some additional information to the logging but in this case instead of using placeholder 2 and 3 they used 3 and 4. --- lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp index fad2f3f1a863..58b6b625bfec 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp @@ -1495,7 +1495,7 @@ bool ClangASTSource::layoutRecordType(const RecordDecl *record, uint64_t &size, LLDB_LOG(log, "LayoutRecordType on (ASTContext*){0} '{1}' for (RecordDecl*)" - "{3} [name = '{4}']", + "{2} [name = '{3}']", m_ast_context, m_clang_ast_context->getDisplayName(), record, record->getName());