summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-03-21 19:37:38 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-03-21 19:37:38 +0000
commitfe908a805b51d77d4fc5332aa96feb04497eb66b (patch)
tree0c89b62df8ad5e4521d1e9952d0fd23bd941cb56 /clang/lib/Frontend/CompilerInstance.cpp
parent413e064b4556650aa9faed7e3fe5379f9fc3a999 (diff)
downloadbcm5719-llvm-fe908a805b51d77d4fc5332aa96feb04497eb66b.tar.gz
bcm5719-llvm-fe908a805b51d77d4fc5332aa96feb04497eb66b.zip
Frontend: Change CC_PRINT_HEADERS to not print header depth markers, these don't
really make any sense in this environment. llvm-svn: 128014
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index 26d40e4f80b..bbdfcaf57e0 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -205,7 +205,8 @@ CompilerInstance::createPreprocessor(Diagnostic &Diags,
llvm::StringRef OutputPath = DepOpts.HeaderIncludeOutputFile;
if (OutputPath == "-")
OutputPath = "";
- AttachHeaderIncludeGen(*PP, /*ShowAllHeaders=*/true, OutputPath);
+ AttachHeaderIncludeGen(*PP, /*ShowAllHeaders=*/true, OutputPath,
+ /*ShowDepth=*/false);
}
return PP;
OpenPOWER on IntegriCloud