mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +00:00
Merge changes to clang's Driver code into LLVM's Option library
This is in preparation for switching the clang driver over to using LLVM's Option library. Richard Smith introduced most of these changes to the clang driver in r167638. Reviewers: espindola on IRC Differential Revision: http://llvm-reviews.chandlerc.com/D970 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183925 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -99,9 +99,6 @@ public:
|
||||
return getInfo(id).GroupID;
|
||||
}
|
||||
|
||||
/// \brief Should the help for the given option be hidden by default.
|
||||
bool isOptionHelpHidden(OptSpecifier id) const;
|
||||
|
||||
/// \brief Get the help text to use to describe this option.
|
||||
const char *getOptionHelpText(OptSpecifier id) const {
|
||||
return getInfo(id).HelpText;
|
||||
@ -151,7 +148,13 @@ public:
|
||||
/// \param OS - The stream to write the help text to.
|
||||
/// \param Name - The name to use in the usage line.
|
||||
/// \param Title - The title to use in the usage line.
|
||||
/// \param ShowHidden - Whether help-hidden arguments should be shown.
|
||||
/// \param FlagsToInclude - If non-zero, only include options with any
|
||||
/// of these flags set.
|
||||
/// \param FlagsToExclude - Exclude options with any of these flags set.
|
||||
void PrintHelp(raw_ostream &OS, const char *Name,
|
||||
const char *Title, unsigned FlagsToInclude,
|
||||
unsigned FlagsToExclude) const;
|
||||
|
||||
void PrintHelp(raw_ostream &OS, const char *Name,
|
||||
const char *Title, bool ShowHidden = false) const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user