forked from OSchip/llvm-project
Add a default parameter for getRegisteredOptions.
llvm-svn: 274640
This commit is contained in:
parent
fbabf2d040
commit
ca4f02ce53
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue