mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-19 05:56:06 +00:00
29 lines
729 B
C++
29 lines
729 B
C++
//===--- 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();
|
|
}
|