diff options
Diffstat (limited to 'include/clang/Frontend/DependencyOutputOptions.h')
-rw-r--r-- | include/clang/Frontend/DependencyOutputOptions.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/clang/Frontend/DependencyOutputOptions.h b/include/clang/Frontend/DependencyOutputOptions.h index ab8e49df9a88..35aa6c6aace6 100644 --- a/include/clang/Frontend/DependencyOutputOptions.h +++ b/include/clang/Frontend/DependencyOutputOptions.h @@ -20,13 +20,20 @@ namespace clang { class DependencyOutputOptions { public: unsigned IncludeSystemHeaders : 1; ///< Include system header dependencies. + unsigned ShowHeaderIncludes : 1; ///< Show header inclusions (-H). unsigned UsePhonyTargets : 1; ///< Include phony targets for each /// dependency, which can avoid some 'make' /// problems. - /// The file to write depencency output to. + /// The file to write dependency output to. std::string OutputFile; + /// The file to write header include output to. This is orthogonal to + /// ShowHeaderIncludes (-H) and will include headers mentioned in the + /// predefines buffer. If the output file is "-", output will be sent to + /// stderr. + std::string HeaderIncludeOutputFile; + /// A list of names to use as the targets in the dependency file; this list /// must contain at least one entry. std::vector<std::string> Targets; @@ -34,6 +41,7 @@ public: public: DependencyOutputOptions() { IncludeSystemHeaders = 0; + ShowHeaderIncludes = 0; UsePhonyTargets = 0; } }; |