xref: /minix3/external/bsd/llvm/dist/clang/lib/Driver/Tool.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc //===--- Tool.cpp - Compilation Tools -------------------------------------===//
2f4a2713aSLionel Sambuc //
3f4a2713aSLionel Sambuc //                     The LLVM Compiler Infrastructure
4f4a2713aSLionel Sambuc //
5f4a2713aSLionel Sambuc // This file is distributed under the University of Illinois Open Source
6f4a2713aSLionel Sambuc // License. See LICENSE.TXT for details.
7f4a2713aSLionel Sambuc //
8f4a2713aSLionel Sambuc //===----------------------------------------------------------------------===//
9f4a2713aSLionel Sambuc 
10f4a2713aSLionel Sambuc #include "clang/Driver/Tool.h"
11f4a2713aSLionel Sambuc 
12f4a2713aSLionel Sambuc using namespace clang::driver;
13f4a2713aSLionel Sambuc 
Tool(const char * _Name,const char * _ShortName,const ToolChain & TC,ResponseFileSupport _ResponseSupport,llvm::sys::WindowsEncodingMethod _ResponseEncoding,const char * _ResponseFlag)14*0a6a1f1dSLionel Sambuc Tool::Tool(const char *_Name, const char *_ShortName, const ToolChain &TC,
15*0a6a1f1dSLionel Sambuc            ResponseFileSupport _ResponseSupport,
16*0a6a1f1dSLionel Sambuc            llvm::sys::WindowsEncodingMethod _ResponseEncoding,
17*0a6a1f1dSLionel Sambuc            const char *_ResponseFlag)
18*0a6a1f1dSLionel Sambuc     : Name(_Name), ShortName(_ShortName), TheToolChain(TC),
19*0a6a1f1dSLionel Sambuc       ResponseSupport(_ResponseSupport), ResponseEncoding(_ResponseEncoding),
20*0a6a1f1dSLionel Sambuc       ResponseFlag(_ResponseFlag) {}
21f4a2713aSLionel Sambuc 
~Tool()22f4a2713aSLionel Sambuc Tool::~Tool() {
23f4a2713aSLionel Sambuc }
24