aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend/Utils.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/Utils.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/Utils.h')
-rw-r--r--include/clang/Frontend/Utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Frontend/Utils.h b/include/clang/Frontend/Utils.h
index 3cdda2aefa..fd0ddda85e 100644
--- a/include/clang/Frontend/Utils.h
+++ b/include/clang/Frontend/Utils.h
@@ -73,6 +73,11 @@ void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream* OS,
void AttachDependencyFileGen(Preprocessor &PP,
const DependencyOutputOptions &Opts);
+/// AttachDependencyGraphGen - Create a dependency graph generator, and attach
+/// it to the given preprocessor.
+ void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile,
+ StringRef SysRoot);
+
/// AttachHeaderIncludeGen - Create a header include list generator, and attach
/// it to the given preprocessor.
///