File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
lldb/source/Plugins/Language/Swift Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,6 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
184
184
if (case_value == 0 && value != 0 )
185
185
continue ;
186
186
if ((case_value & value) == case_value) {
187
- // hey a case matched!!
188
187
any_match = true ;
189
188
if (first_match) {
190
189
ss << " [." << val_name.second ;
@@ -195,7 +194,7 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
195
194
196
195
matched_value |= case_value;
197
196
198
- // if we matched everything, get out
197
+ // If we matched everything, get out.
199
198
if (matched_value == value)
200
199
break ;
201
200
}
@@ -205,11 +204,10 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
205
204
return false ;
206
205
207
206
if (matched_value != value) {
208
- // print the unaccounted-for bits separately
207
+ // Print the unaccounted-for bits separately.
209
208
llvm::APInt residual = value & ~matched_value;
210
209
ss << " , 0x" << residual.toString (16 , false );
211
210
}
212
- // close the list
213
211
ss << ' ]' ;
214
212
215
213
dest.assign (ss.GetData ());
You can’t perform that action at this time.
0 commit comments