LLVM 22.0.0git
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 479 of file CommandLine.h.

Constructor & Destructor Documentation

◆ sub() [1/2]

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

Definition at line 483 of file CommandLine.h.

References Sub.

◆ sub() [2/2]

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

Definition at line 484 of file CommandLine.h.

References G, and Group.

Member Function Documentation

◆ apply()

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

Definition at line 486 of file CommandLine.h.

References Group, and Sub.

Member Data Documentation

◆ Group

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

Definition at line 481 of file CommandLine.h.

Referenced by apply(), and sub().

◆ Sub

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

Definition at line 480 of file CommandLine.h.

Referenced by apply(), and sub().


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