mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 04:45:00 +00:00
Add the MoreHelp function pointer. If non-null, this specifies a function to be called to print out additional help information
llvm-svn: 17756
This commit is contained in:
parent
0635c876ce
commit
2505c4beff
@ -1046,6 +1046,14 @@ struct aliasopt {
|
||||
void apply(alias &A) const { A.setAliasFor(Opt); }
|
||||
};
|
||||
|
||||
/// Permit the tool to provide additional help output after the normal
|
||||
/// help output. To use this, create a function that returns void and
|
||||
/// takes no arguments. Assign its address to cl::MoreHelp. If set,
|
||||
/// this function will be called just before the CommandLine exits
|
||||
/// after printing the help.
|
||||
/// @brief Optional pointer to additional help function
|
||||
extern void (*MoreHelp)();
|
||||
|
||||
} // End namespace cl
|
||||
|
||||
} // End namespace llvm
|
||||
|
Loading…
x
Reference in New Issue
Block a user