diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-12-15 18:49:47 +0000 | 
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-12-15 18:49:47 +0000 | 
| commit | 34d02d0b37f16015f317a935c48ce8b7b64ae77b (patch) | |
| tree | 2fd5819f49caecc5f520219b6b9254fe94ebb138 /include/clang/Frontend/FrontendOptions.h | |
| parent | 1569ce68681d909594d64f9b056d71f5dd7563bf (diff) | |
Notes
Diffstat (limited to 'include/clang/Frontend/FrontendOptions.h')
| -rw-r--r-- | include/clang/Frontend/FrontendOptions.h | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/include/clang/Frontend/FrontendOptions.h b/include/clang/Frontend/FrontendOptions.h index c1ec8e70f1c6..36fea7f71337 100644 --- a/include/clang/Frontend/FrontendOptions.h +++ b/include/clang/Frontend/FrontendOptions.h @@ -77,12 +77,14 @@ public:    unsigned RelocatablePCH : 1;             ///< When generating PCH files,                                             /// instruct the PCH writer to create                                             /// relocatable PCH files. +  unsigned ShowHelp : 1;                   ///< Show the -help text.    unsigned ShowMacrosInCodeCompletion : 1; ///< Show macros in code completion                                             /// results.    unsigned ShowStats : 1;                  ///< Show frontend performance                                             /// metrics and statistics.    unsigned ShowTimers : 1;                 ///< Show timers for individual                                             /// actions. +  unsigned ShowVersion : 1;                ///< Show the -version text.    /// The input files and their types.    std::vector<std::pair<InputKind, std::string> > Inputs; @@ -105,6 +107,9 @@ public:    /// The name of the action to run when using a plugin action.    std::string ActionName; +  /// The list of plugins to load. +  std::vector<std::string> Plugins; +  public:    FrontendOptions() {      DebugCodeCompletionPrinter = 1; @@ -113,9 +118,11 @@ public:      ProgramAction = frontend::ParseSyntaxOnly;      ActionName = "";      RelocatablePCH = 0; +    ShowHelp = 0;      ShowMacrosInCodeCompletion = 0;      ShowStats = 0;      ShowTimers = 0; +    ShowVersion = 0;    }    /// getInputKindForExtension - Return the appropriate input kind for a file  | 
