diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-11 21:43:12 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-11 21:43:12 +0000 |
commit | 0e0bae8139e25de81f18b6a519783a06f7ba1e25 (patch) | |
tree | 6db23099da5baf15ef2612359f918b8bb651dde5 /include/clang/Frontend/CompilerInvocation.h | |
parent | 4f92032ebad80711ee99cfea6946a61b4b9d08be (diff) |
Add DependencyOutputOptions to wrap -M... options, and propogate to
CompilerInvocation and clang-cc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CompilerInvocation.h')
-rw-r--r-- | include/clang/Frontend/CompilerInvocation.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/clang/Frontend/CompilerInvocation.h b/include/clang/Frontend/CompilerInvocation.h index b217dca965..fc0b95284d 100644 --- a/include/clang/Frontend/CompilerInvocation.h +++ b/include/clang/Frontend/CompilerInvocation.h @@ -12,6 +12,7 @@ #include "clang/Basic/LangOptions.h" #include "clang/Frontend/CompileOptions.h" +#include "clang/Frontend/DependencyOutputOptions.h" #include "clang/Frontend/DiagnosticOptions.h" #include "clang/Frontend/HeaderSearchOptions.h" #include "clang/Frontend/PreprocessorOptions.h" @@ -31,6 +32,9 @@ class CompilerInvocation { /// Options controlling IRgen and the backend. CompileOptions CompileOpts; + /// Options controlling dependency output. + DependencyOutputOptions DependencyOutputOpts; + /// Options controlling the diagnostic engine. DiagnosticOptions DiagOpts; @@ -68,6 +72,13 @@ public: return CompileOpts; } + DependencyOutputOptions &getDependencyOutputOpts() { + return DependencyOutputOpts; + } + const DependencyOutputOptions &getDependencyOutputOpts() const { + return DependencyOutputOpts; + } + DiagnosticOptions &getDiagnosticOpts() { return DiagOpts; } const DiagnosticOptions &getDiagnosticOpts() const { return DiagOpts; } |