summaryrefslogtreecommitdiffstats
path: root/lib/Driver/Tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/Tool.cpp')
-rw-r--r--lib/Driver/Tool.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Driver/Tool.cpp b/lib/Driver/Tool.cpp
index 781e0a7..fe01531 100644
--- a/lib/Driver/Tool.cpp
+++ b/lib/Driver/Tool.cpp
@@ -11,8 +11,10 @@
using namespace clang::driver;
-Tool::Tool(const char *_Name, const ToolChain &TC) : Name(_Name),
- TheToolChain(TC) {
+Tool::Tool(const char *_Name, const char *_ShortName,
+ const ToolChain &TC) : Name(_Name), ShortName(_ShortName),
+ TheToolChain(TC)
+{
}
Tool::~Tool() {
OpenPOWER on IntegriCloud