LLVM 24.0.0git
llvm::cl::LibraryOptionsContext Class Reference

#include "llvm/Support/LibraryOptionsContext.h"

Public Member Functions

void assign (const LibraryOptionsContext &Other)
Error parse (LibraryOptions &L, ArrayRef< const char * > Args, unsigned &Consumed)
ArrayRef< const char * > args () const
template<typename T>
const T & get () const

Static Public Member Functions

template<typename T>
static const T & get (const LibraryOptionsContext *C)

Detailed Description

Definition at line 28 of file LibraryOptionsContext.h.

Member Function Documentation

◆ args()

ArrayRef< const char * > llvm::cl::LibraryOptionsContext::args ( ) const
inline

Definition at line 42 of file LibraryOptionsContext.h.

◆ assign()

void LibraryOptionsContext::assign ( const LibraryOptionsContext & Other)

Definition at line 2946 of file CommandLine.cpp.

References assert(), llvm::cantFail(), globalParser(), I, N, llvm::Other, and parse().

◆ get() [1/2]

◆ get() [2/2]

template<typename T>
const T & llvm::cl::LibraryOptionsContext::get ( const LibraryOptionsContext * C)
inlinestatic

Definition at line 54 of file LibraryOptionsContext.h.

References C(), and T.

◆ parse()

Error LibraryOptionsContext::parse ( LibraryOptions & L,
ArrayRef< const char * > Args,
unsigned & Consumed )

Definition at line 2963 of file CommandLine.cpp.

References parseLibraryOption().


The documentation for this class was generated from the following files: