2009-03-02 19:59:07 +00:00
|
|
|
//===--- Driver.cpp - Clang GCC Compatible Driver -----------------------*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "clang/Driver/Driver.h"
|
|
|
|
|
2009-03-04 20:49:20 +00:00
|
|
|
#include "clang/Driver/Arg.h"
|
|
|
|
#include "clang/Driver/ArgList.h"
|
|
|
|
#include "clang/Driver/Compilation.h"
|
|
|
|
#include "clang/Driver/Options.h"
|
|
|
|
using namespace clang::driver;
|
|
|
|
|
|
|
|
Driver::Driver() : Opts(new OptTable()) {
|
|
|
|
|
2009-03-02 19:59:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Driver::~Driver() {
|
2009-03-04 20:49:20 +00:00
|
|
|
delete Opts;
|
2009-03-02 19:59:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Compilation *Driver::BuildCompilation(int argc, const char **argv) {
|
|
|
|
return new Compilation();
|
|
|
|
}
|