From fe908a805b51d77d4fc5332aa96feb04497eb66b Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 21 Mar 2011 19:37:38 +0000 Subject: Frontend: Change CC_PRINT_HEADERS to not print header depth markers, these don't really make any sense in this environment. llvm-svn: 128014 --- clang/lib/Frontend/CompilerInstance.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/Frontend/CompilerInstance.cpp') 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; -- cgit v1.2.3