Skip to content

Commit a9b28d6

Browse files
committed
comment cleanup
(cherry picked from commit 4595220)
1 parent 4445761 commit a9b28d6

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
@@ -182,7 +182,6 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
182182
if (case_value == 0 && value != 0)
183183
continue;
184184
if ((case_value & value) == case_value) {
185-
// hey a case matched!!
186185
any_match = true;
187186
if (first_match) {
188187
ss << "[." << val_name.second;
@@ -193,7 +192,7 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
193192

194193
matched_value |= case_value;
195194

196-
// if we matched everything, get out
195+
// If we matched everything, get out.
197196
if (matched_value == value)
198197
break;
199198
}
@@ -203,11 +202,10 @@ bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::
203202
return false;
204203

205204
if (matched_value != value) {
206-
// print the unaccounted-for bits separately
205+
// Print the unaccounted-for bits separately.
207206
llvm::APInt residual = value & ~matched_value;
208207
ss << ", 0x" << residual.toString(16, false);
209208
}
210-
// close the list
211209
ss << ']';
212210

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

0 commit comments

Comments
 (0)