8000 [lldb] Fix missing return in SwiftASTContext · swiftlang/llvm-project@7f066cf · GitHub
[go: up one dir, main page]

Skip to content

Commit 7f066cf

Browse files
committed
[lldb] Fix missing return in SwiftASTContext
(cherry picked from commit d6ca362)
1 parent 22258cf commit 7f066cf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lldb/source/Symbol/SwiftASTContext.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5054,8 +5054,11 @@ void SwiftASTContext::LogConfiguration() {
50545054
LOG_PRINTF(LIBLLDB_LOG_TYPES,
50555055
"(SwiftASTContext*)%p:", static_cast<void *>(this));
50565056

5057-
if (!m_ast_context_ap)
5057+
if (!m_ast_context_ap) {
50585058
log->Printf(" (no AST context)");
5059+
return;
5060+
}
5061+
50595062
log->Printf(" Architecture : %s",
50605063
m_ast_context_ap->LangOpts.Target.getTriple().c_str());
50615064
log->Printf(" SDK path : %s",

0 commit comments

Comments
 (0)
0