aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/DependencyOutputOptions.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-02-02 00:54:52 +0000
committerDouglas Gregor <dgregor@apple.com>2012-02-02 00:54:52 +0000
commitc69a181049ab52da29f8f69316a34c90c3ea3b8e (patch)
treeb1280e8c18379ff252743117256d46a97e22eb43 /include/clang/Frontend/DependencyOutputOptions.h
parentc645ddf240efb112ff8f17371811deb3ebc1a5b5 (diff)
Introduce a -cc1 option "-dependency-graphviz" that determines header
dependencies and outputs them in GraphViz format. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/DependencyOutputOptions.h')
-rw-r--r--include/clang/Frontend/DependencyOutputOptions.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/Frontend/DependencyOutputOptions.h b/include/clang/Frontend/DependencyOutputOptions.h
index 1e22c227fc..63e2abf887 100644
--- a/include/clang/Frontend/DependencyOutputOptions.h
+++ b/include/clang/Frontend/DependencyOutputOptions.h
@@ -25,7 +25,7 @@ public:
/// dependency, which can avoid some 'make'
/// problems.
unsigned AddMissingHeaderDeps : 1; ///< Add missing headers to dependency list
-
+
/// The file to write dependency output to.
std::string OutputFile;
@@ -39,6 +39,9 @@ public:
/// must contain at least one entry.
std::vector<std::string> Targets;
+ /// \brief The file to write GraphViz-formatted header dependencies to.
+ std::string GraphvizOutputFile;
+
public:
DependencyOutputOptions() {
IncludeSystemHeaders = 0;