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 @@ -182,7 +182,6 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
182
182
if (case_value == 0 && value != 0 )
183
183
continue ;
184
184
if ((case_value & value) == case_value) {
185
- // hey a case matched!!
186
185
any_match = true ;
187
186
if (first_match) {
188
187
ss << " [." << val_name.second ;
@@ -193,7 +192,7 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
193
192
194
193
matched_value |= case_value;
195
194
196
- // if we matched everything, get out
195
+ // If we matched everything, get out.
197
196
if (matched_value == value)
198
197
break ;
199
198
}
@@ -203,11 +202,10 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
203
202
return false ;
204
203
205
204
if (matched_value != value) {
206
- // print the unaccounted-for bits separately
205
+ // Print the unaccounted-for bits separately.
207
206
llvm::APInt residual = value & ~matched_value;
208
207
ss << " , 0x" << residual.toString (16 , false );
209
208
}
210
- // close the list
211
209
ss << ' ]' ;
212
210
213
211
dest.assign (ss.GetData ());
You can’t perform that action at this time.
0 commit comments