LLVM 20.0.0git
Macros
DlltoolDriver.cpp File Reference
#include "llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Object/COFF.h"
#include "llvm/Object/COFFImportFile.h"
#include "llvm/Object/COFFModuleDefinition.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/OptTable.h"
#include "llvm/Option/Option.h"
#include "llvm/Support/Path.h"
#include "llvm/TargetParser/Host.h"
#include <optional>
#include <vector>
#include "Options.inc"

Go to the source code of this file.

Macros

#define OPTION(...)   LLVM_MAKE_OPT_ID(__VA_ARGS__),
 
#define PREFIX(NAME, VALUE)
 
#define OPTION(...)   LLVM_CONSTRUCT_OPT_INFO(__VA_ARGS__),
 

Macro Definition Documentation

◆ OPTION [1/2]

#define OPTION (   ...)    LLVM_MAKE_OPT_ID(__VA_ARGS__),

Definition at line 36 of file DlltoolDriver.cpp.

◆ OPTION [2/2]

#define OPTION (   ...)    LLVM_CONSTRUCT_OPT_INFO(__VA_ARGS__),

Definition at line 36 of file DlltoolDriver.cpp.

◆ PREFIX

#define PREFIX (   NAME,
  VALUE 
)
Value:
static constexpr StringLiteral NAME##_init[] = VALUE; \
static constexpr ArrayRef<StringLiteral> NAME(NAME##_init, \
std::size(NAME##_init) - 1);
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition: ArrayRef.h:41
A wrapper around a string literal that serves as a proxy for constructing global tables of StringRefs...
Definition: StringRef.h:838

Definition at line 41 of file DlltoolDriver.cpp.