aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/CompilerInvocation.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-11 21:43:12 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-11 21:43:12 +0000
commit0e0bae8139e25de81f18b6a519783a06f7ba1e25 (patch)
tree6db23099da5baf15ef2612359f918b8bb651dde5 /include/clang/Frontend/CompilerInvocation.h
parent4f92032ebad80711ee99cfea6946a61b4b9d08be (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.h11
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; }