diff options
Diffstat (limited to 'include/clang/Frontend/FrontendOptions.h')
-rw-r--r-- | include/clang/Frontend/FrontendOptions.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/clang/Frontend/FrontendOptions.h b/include/clang/Frontend/FrontendOptions.h index 4c16d084fc0d..19d39c3ca1b2 100644 --- a/include/clang/Frontend/FrontendOptions.h +++ b/include/clang/Frontend/FrontendOptions.h @@ -21,6 +21,7 @@ namespace clang { namespace frontend { enum ActionKind { ASTDump, ///< Parse ASTs and dump them. + ASTDumpXML, ///< Parse ASTs and dump them in XML. ASTPrint, ///< Parse ASTs and print them. ASTPrintXML, ///< Parse ASTs and print them in XML. ASTView, ///< Parse ASTs and view them in Graphviz. @@ -38,7 +39,6 @@ namespace frontend { FixIt, ///< Parse and apply any fixits to the source. GeneratePCH, ///< Generate pre-compiled header. GeneratePTH, ///< Generate pre-tokenized header. - InheritanceView, ///< View C++ inheritance for a specified class. InitOnly, ///< Only execute frontend initialization. ParseSyntaxOnly, ///< Parse and perform semantic analysis. PluginAction, ///< Run a plugin action, \see ActionName. @@ -56,8 +56,6 @@ namespace frontend { /// FrontendOptions - Options for controlling the behavior of the frontend. class FrontendOptions { public: - unsigned DebugCodeCompletionPrinter : 1; ///< Use the debug printer for code - /// completion results. unsigned DisableFree : 1; ///< Disable memory freeing on exit. unsigned RelocatablePCH : 1; ///< When generating PCH files, /// instruct the AST writer to create @@ -86,9 +84,6 @@ public: /// The output file, if any. std::string OutputFile; - /// If given, the name for a C++ class to view the inheritance of. - std::string ViewClassInheritance; - /// If given, the new suffix for fix-it rewritten files. std::string FixItSuffix; @@ -101,9 +96,15 @@ public: /// The name of the action to run when using a plugin action. std::string ActionName; - /// Arg to pass to the plugin + /// Args to pass to the plugin std::vector<std::string> PluginArgs; + /// The list of plugin actions to run in addition to the normal action. + std::vector<std::string> AddPluginActions; + + /// Args to pass to the additional plugins + std::vector<std::vector<std::string> > AddPluginArgs; + /// The list of plugins to load. std::vector<std::string> Plugins; @@ -119,7 +120,6 @@ public: public: FrontendOptions() { - DebugCodeCompletionPrinter = 1; DisableFree = 0; ProgramAction = frontend::ParseSyntaxOnly; ActionName = ""; |