Driver.cpp revision 1b3bb6efc59a21f794b534078f9ae7e95393f510
1//===--- Driver.cpp - Clang GCC Compatible Driver -----------------------*-===// 2// 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/Driver.h" 11 12#include "clang/Driver/Arg.h" 13#include "clang/Driver/ArgList.h" 14#include "clang/Driver/Compilation.h" 15#include "clang/Driver/Options.h" 16using namespace clang::driver; 17 18Driver::Driver() : Opts(new OptTable()) { 19 20} 21 22Driver::~Driver() { 23 delete Opts; 24} 25 26Compilation *Driver::BuildCompilation(int argc, const char **argv) { 27 return new Compilation(); 28} 29