Skip to content

Commit 6f89c35

Browse files
committed
Nonchalantly add accidentally omitted curly braces.
We have seen occurences where even though the log files (and the tests that depend on the log file) seem to strip out system paths correctly, bit "somehow" the behaviour of LLDB didn't quite match up what was shown in the log file. rdar://76217088
1 parent 8463f2a commit 6f89c35

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)