LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::cl::sub Struct Reference

#include "llvm/Support/CommandLine.h"

Public Member Functions

 sub (SubCommand &S)
 
 sub (SubCommandGroup &G)
 
template<class Opt >
void apply (Opt &O) const
 

Public Attributes

SubCommandSub = nullptr
 
SubCommandGroupGroup = nullptr
 

Detailed Description

Definition at line 477 of file CommandLine.h.

Constructor & Destructor Documentation

◆ sub() [1/2]

llvm::cl::sub::sub ( SubCommand S)
inline

Definition at line 481 of file CommandLine.h.

◆ sub() [2/2]

llvm::cl::sub::sub ( SubCommandGroup G)
inline

Definition at line 482 of file CommandLine.h.

Member Function Documentation

◆ apply()

template<class Opt >
void llvm::cl::sub::apply ( Opt &  O) const
inline

Definition at line 484 of file CommandLine.h.

References llvm::cl::SubCommandGroup::getSubCommands(), Group, and Sub.

Member Data Documentation

◆ Group

SubCommandGroup* llvm::cl::sub::Group = nullptr

Definition at line 479 of file CommandLine.h.

Referenced by apply().

◆ Sub

SubCommand* llvm::cl::sub::Sub = nullptr

Definition at line 478 of file CommandLine.h.

Referenced by apply().


The documentation for this struct was generated from the following file: