LLVM 19.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 484 of file CommandLine.h.

Constructor & Destructor Documentation

◆ sub() [1/2]

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

Definition at line 488 of file CommandLine.h.

◆ sub() [2/2]

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

Definition at line 489 of file CommandLine.h.

Member Function Documentation

◆ apply()

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

Definition at line 491 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 486 of file CommandLine.h.

Referenced by apply().

◆ Sub

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

Definition at line 485 of file CommandLine.h.

Referenced by apply().

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