Skip to content

Commit 22f6505

Browse files
Merge pull request #2928 from adrian-prantl/goto-fail
Nonchalantly add accidentally omitted curly braces.
2 parents 897f62f + 6f89c35 commit 22f6505

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2197,14 +2197,15 @@ lldb::TypeSystemSP SwiftASTContext::CreateInstance(lldb::LanguageType language,
21972197
// system. These modules must be imported from the
21982198
// SDK instead.
21992199
if (!StringRef(parent_path).startswith("/System/Library") &&
2200-
!IsDeviceSupport(parent_path.c_str()))
2200+
!IsDeviceSupport(parent_path.c_str())) {
22012201
LOG_PRINTF(LIBLLDB_LOG_TYPES,
22022202
"process_one_module(\"%s\") adding framework path "
22032203
"\"%s\".",
22042204
module_file.GetFilename().AsCString(""),
22052205
framework_path.c_str());
22062206
framework_search_paths.push_back(
22072207
{std::move(parent_path), /*system*/ false});
2208+
}
22082209
}
22092210
}
22102211
}

0 commit comments

Comments
 (0)