Add a default parameter for getRegisteredOptions.

llvm-svn: 274640
This commit is contained in:
Zachary Turner 2016-07-06 17:25:16 +00:00
parent fbabf2d040
commit ca4f02ce53
1 changed files with 1 additions and 1 deletions

View File

@ -1733,7 +1733,7 @@ void PrintHelpMessage(bool Hidden = false, bool Categorized = false);
/// Hopefully this API can be depricated soon. Any situation where options need
/// to be modified by tools or libraries should be handled by sane APIs rather
/// than just handing around a global list.
StringMap<Option *> &getRegisteredOptions(SubCommand &Sub);
StringMap<Option *> &getRegisteredOptions(SubCommand &Sub = *TopLevelSubCommand);
//===----------------------------------------------------------------------===//
// Standalone command line processing utilities.