llvm/llvm/tools/llvm-cvtres/llvm-cvtres.cpp

//===- llvm-cvtres.cpp - Serialize .res files into .obj ---------*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
//
// Serialize .res files into .obj files.  This is intended to be a
// platform-independent port of Microsoft's cvtres.exe.
//
//===----------------------------------------------------------------------===//

#include "llvm/BinaryFormat/Magic.h"
#include "llvm/Object/Binary.h"
#include "llvm/Object/WindowsMachineFlag.h"
#include "llvm/Object/WindowsResource.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/Option.h"
#include "llvm/Support/BinaryStreamError.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/InitLLVM.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/PrettyStackTrace.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/raw_ostream.h"

#include <system_error>

usingnamespacellvm;
usingnamespaceobject;

namespace {

enum ID {};

#define PREFIX
#include "Opts.inc"
#undef PREFIX

usingnamespacellvm::opt;
static constexpr opt::OptTable::Info InfoTable[] =;

class CvtResOptTable : public opt::GenericOptTable {};
}

[[noreturn]] static void reportError(Twine Msg) {}

static void reportError(StringRef Input, std::error_code EC) {}

static void error(StringRef Input, Error EC) {}

static void error(Error EC) {}

static uint32_t getTime() {}

template <typename T> T error(Expected<T> EC) {}

template <typename T> T error(StringRef Input, Expected<T> EC) {}

template <typename T> T error(StringRef Input, ErrorOr<T> &&EC) {}

int main(int Argc, const char **Argv) {}