Skip to content

Commit 064868a

Browse files
committed
Remove empty lines and braces on single line loop body.
1 parent 5995d18 commit 064868a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

llvm/lib/Option/OptTable.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,6 @@ void OptTable::internalPrintHelp(
807807
continue;
808808

809809
const Info &CandidateInfo = getInfo(Id);
810-
811810
if (!ShowHidden && (CandidateInfo.Flags & opt::HelpHidden))
812811
continue;
813812

llvm/unittests/Option/OptionSubCommandsTest.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,15 @@ TYPED_TEST(OptSubCommandTableTest, SubCommandParsing) {
7979
auto HandleMultipleSubcommands = [&](ArrayRef<StringRef> SubCommands) {
8080
ErrMsg.clear();
8181
RSO1 << "Multiple subcommands passed\n";
82-
for (auto SC : SubCommands) {
82+
for (auto SC : SubCommands)
8383
RSO1 << "\n" << SC;
84-
}
8584
};
8685

8786
auto HandleOtherPositionals = [&](ArrayRef<StringRef> Positionals) {
8887
ErrMsg.clear();
8988
RSO1 << "Unregistered positionals passed\n";
90-
for (auto SC : Positionals) {
89+
for (auto SC : Positionals)
9190
RSO1 << "\n" << SC;
92-
}
9391
};
9492

9593
{

0 commit comments

Comments
 (0)