Skip to content

Commit 4595220

Browse files
committed
comment cleanup
1 parent 465c1e5 commit 4595220

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lldb/source/Plugins/Language/Swift/SwiftOptionSet.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
184184
if (case_value == 0 && value != 0)
185185
continue;
186186
if ((case_value & value) == case_value) {
187-
// hey a case matched!!
188187
any_match = true;
189188
if (first_match) {
190189
ss << "[." << val_name.second;
@@ -195,7 +194,7 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
195194

196195
matched_value |= case_value;
197196

198-
// if we matched everything, get out
197+
// If we matched everything, get out.
199198
if (matched_value == value)
200199
break;
201200
}
@@ -205,11 +204,10 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
205204
return false;
206205

207206
if (matched_value != value) {
208-
// print the unaccounted-for bits separately
207+
// Print the unaccounted-for bits separately.
209208
llvm::APInt residual = value & ~matched_value;
210209
ss << ", 0x" << residual.toString(16, false);
211210
}
212-
// close the list
213211
ss << ']';
214212

215213
dest.assign(ss.GetData());

0 commit comments

Comments
 (0)