We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60555a6 commit 3812de8Copy full SHA for 3812de8
lldb/source/Plugins/Language/Swift/SwiftOptionSet.cpp
@@ -168,6 +168,8 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
168
for (auto val_name : *m_cases) {
169
llvm::APInt case_value = val_name.first;
170
// Print single valued sets without using enclosing brackets.
171
+ // `WouldEvenConsiderFormatting` can't opt out early because it
172
+ // has only the type, but needs the value for this case.
173
if (case_value == value) {
174
ss << '.' << val_name.second;
175
dest.assign(ss.GetData());
0 commit comments