Frontend: Change CC_PRINT_HEADERS to not print header depth markers, these don't

really make any sense in this environment.

llvm-svn: 128014
This commit is contained in:
Daniel Dunbar
2011-03-21 19:37:38 +00:00
parent 413e064b45
commit fe908a805b
3 changed files with 17 additions and 9 deletions

View File

@@ -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;