LLVM 24.0.0git
LibraryOptions.h File Reference
#include "llvm/Option/OptionsStruct.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include <utility>

Go to the source code of this file.

Classes

class  llvm::opt::LibraryOptionsParser
 Connects options struct T to cl::parseCommandLineOptions and cl::LibraryOptionsContext. More...
class  llvm::opt::RegisterLibraryOptions< T >
 Registers T with cl::parseCommandLineOptions. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::opt

Macros

#define LLVM_REGISTER_LIBRARY_OPTIONS(T)
 Defines the file-scope registration of options struct T for a library that has no initialization function to register it from, exempting this static constructor from -Wglobal-constructors.

Macro Definition Documentation

◆ LLVM_REGISTER_LIBRARY_OPTIONS

#define LLVM_REGISTER_LIBRARY_OPTIONS ( T)
Value:
Registers T with cl::parseCommandLineOptions.

Defines the file-scope registration of options struct T for a library that has no initialization function to register it from, exempting this static constructor from -Wglobal-constructors.

Definition at line 83 of file LibraryOptions.h.