clang API Documentation
00001 //===--- Tool.cpp - Compilation Tools -------------------------------------===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #include "clang/Driver/Tool.h" 00011 00012 using namespace clang::driver; 00013 00014 Tool::Tool(const char *_Name, const char *_ShortName, const ToolChain &TC, 00015 ResponseFileSupport _ResponseSupport, 00016 llvm::sys::WindowsEncodingMethod _ResponseEncoding, 00017 const char *_ResponseFlag) 00018 : Name(_Name), ShortName(_ShortName), TheToolChain(TC), 00019 ResponseSupport(_ResponseSupport), ResponseEncoding(_ResponseEncoding), 00020 ResponseFlag(_ResponseFlag) {} 00021 00022 Tool::~Tool() { 00023 }