summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-11-06 00:40:05 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-11-06 00:40:05 +0000
commit9b515cb0ec76b0f1b4af77e18630a453ef782e4f (patch)
tree66266709b98519eb99cd4dc78a335d4ec2704e17 /clang/lib/Driver/Tools.h
parent34146d8ca7af16335e8e290f85d316ebc0a37902 (diff)
downloadbcm5719-llvm-9b515cb0ec76b0f1b4af77e18630a453ef782e4f.tar.gz
bcm5719-llvm-9b515cb0ec76b0f1b4af77e18630a453ef782e4f.zip
Add the depfile as a result file so that it is deleted if we crash,
and prevent the diagnostic preprocessor run from writing a depfile. llvm-svn: 143846
Diffstat (limited to 'clang/lib/Driver/Tools.h')
-rw-r--r--clang/lib/Driver/Tools.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h
index a4f732e1c21..d81c987cf04 100644
--- a/clang/lib/Driver/Tools.h
+++ b/clang/lib/Driver/Tools.h
@@ -29,7 +29,8 @@ namespace tools {
/// \brief Clang compiler tool.
class LLVM_LIBRARY_VISIBILITY Clang : public Tool {
- void AddPreprocessingOptions(const Driver &D,
+ void AddPreprocessingOptions(Compilation &C,
+ const Driver &D,
const ArgList &Args,
ArgStringList &CmdArgs,
const InputInfo &Output,
OpenPOWER on IntegriCloud