diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-11-06 00:40:05 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-11-06 00:40:05 +0000 |
commit | 54db68bf0e389b8aabe1a434f825a81a9c1f7db8 (patch) | |
tree | dd8f12ac2cfbab7053e25690768b992f262dbf53 /lib/Driver/Tools.h | |
parent | df0a4c374b923f924d5ebcb008090928d408ea1c (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.h')
-rw-r--r-- | lib/Driver/Tools.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h index a4f732e1c2..d81c987cf0 100644 --- a/lib/Driver/Tools.h +++ b/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, |