aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-04-08 23:54:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-04-08 23:54:23 +0000
commitc21c485b4fb58ef5d55cf3e523263dd824a2ace4 (patch)
treea59d2edf3ba6b7dc4b9700c163f9e97b26bc93e7 /lib/Driver/Tools.h
parenta0c3e9cde1581b1b4d43ca89fdf413cd84eaec1f (diff)
Driver: Split out CPP specific options for clang so that we don't end
up adding them twice when running with -no-integrated-cpp or -save-temps. - <rdar://problem/6766636> -save-temps falls over with prefix headers git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.h')
-rw-r--r--lib/Driver/Tools.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h
index f231836ae3..7be2706c0b 100644
--- a/lib/Driver/Tools.h
+++ b/lib/Driver/Tools.h
@@ -25,6 +25,11 @@ namespace toolchains {
namespace tools {
class VISIBILITY_HIDDEN Clang : public Tool {
+ void AddPreprocessingOptions(const ArgList &Args,
+ ArgStringList &CmdArgs,
+ const InputInfo &Output,
+ const InputInfoList &Inputs) const;
+
public:
Clang(const ToolChain &TC) : Tool("clang", TC) {}