blob: d3c959499a13218030fb951270ba55f29286384e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
//===--- 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"
#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()) {
}
Driver::~Driver() {
delete Opts;
}
Compilation *Driver::BuildCompilation(int argc, const char **argv) {
return new Compilation();
}
|