18 lines
677 B
C++
18 lines
677 B
C++
//===-- driver-template.cpp -----------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/Support/LLVMDriver.h"
|
|
#include "llvm/ADT/ArrayRef.h"
|
|
#include "llvm/Support/InitLLVM.h"
|
|
|
|
int @TOOL_NAME@_main(int argc, char **, const llvm::ToolContext &);
|
|
|
|
int main(int argc, char **argv) {
|
|
llvm::InitLLVM X(argc, argv);
|
|
return @TOOL_NAME@_main(argc, argv, {argv[0], nullptr, false});
|
|
}
|