blob: 6ae3506e657f154d1bc941f51161c1e5b91235d3 [file] [log] [blame]
Nick Lewycky6da90772010-12-31 17:31:54 +00001//===--- Tool.cpp - Compilation Tools -------------------------------------===//
Daniel Dunbar9e2136d2009-03-16 05:25:36 +00002//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "clang/Driver/Tool.h"
11
12using namespace clang::driver;
13
Reid Kleckner0290c9c2014-09-15 17:45:39 +000014Tool::Tool(const char *_Name, const char *_ShortName, const ToolChain &TC,
15 ResponseFileSupport _ResponseSupport,
16 llvm::sys::WindowsEncodingMethod _ResponseEncoding,
17 const char *_ResponseFlag)
18 : Name(_Name), ShortName(_ShortName), TheToolChain(TC),
19 ResponseSupport(_ResponseSupport), ResponseEncoding(_ResponseEncoding),
20 ResponseFlag(_ResponseFlag) {}
Daniel Dunbar04cb0292009-03-17 22:07:31 +000021
Angel Garcia Gomezb5250d32015-10-20 12:52:55 +000022Tool::~Tool() = default;