We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67c8e38 commit c70f52dCopy full SHA for c70f52d
llvm/lib/Option/OptTable.cpp
@@ -796,8 +796,7 @@ void OptTable::internalPrintHelp(
796
unsigned ActiveSubCommandID = ActiveSubCommand - &SubCommands[0];
797
// Print if the ActiveSubCommandID is registered with the CandidateInfo
798
// Option.
799
- return std::find(SubCommandIDs.begin(), SubCommandIDs.end(),
800
- ActiveSubCommandID) != SubCommandIDs.end();
+ return llvm::is_contained(SubCommandIDs, ActiveSubCommandID);
801
};
802
803
for (unsigned Id = 1, e = getNumOptions() + 1; Id != e; ++Id) {
0 commit comments