clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::ento::CmdLineOption Struct Reference

Specifies a command line option. More...

#include "clang/StaticAnalyzer/Core/CheckerRegistryData.h"

Public Member Functions

 CmdLineOption (StringRef OptionType, StringRef OptionName, StringRef DefaultValStr, StringRef Description, StringRef DevelopmentStatus, bool IsHidden)
 
LLVM_DUMP_METHOD void dump () const
 
LLVM_DUMP_METHOD void dumpToStream (llvm::raw_ostream &Out) const
 

Public Attributes

StringRef OptionType
 
StringRef OptionName
 
StringRef DefaultValStr
 
StringRef Description
 
StringRef DevelopmentStatus
 
bool IsHidden
 

Detailed Description

Specifies a command line option.

It may either belong to a checker or a package.

Definition at line 44 of file CheckerRegistryData.h.

Constructor & Destructor Documentation

◆ CmdLineOption()

clang::ento::CmdLineOption::CmdLineOption ( StringRef  OptionType,
StringRef  OptionName,
StringRef  DefaultValStr,
StringRef  Description,
StringRef  DevelopmentStatus,
bool  IsHidden 
)
inline

Definition at line 52 of file CheckerRegistryData.h.

References DefaultValStr, DevelopmentStatus, and OptionType.

Member Function Documentation

◆ dump()

LLVM_DUMP_METHOD void CmdLineOption::dump ( ) const

Definition at line 21 of file CheckerRegistryData.cpp.

References dumpToStream().

◆ dumpToStream()

LLVM_DUMP_METHOD void CmdLineOption::dumpToStream ( llvm::raw_ostream &  Out) const

Definition at line 26 of file CheckerRegistryData.cpp.

References DefaultValStr, DevelopmentStatus, IsHidden, OptionName, and OptionType.

Referenced by dump().

Member Data Documentation

◆ DefaultValStr

StringRef clang::ento::CmdLineOption::DefaultValStr

◆ Description

StringRef clang::ento::CmdLineOption::Description

◆ DevelopmentStatus

StringRef clang::ento::CmdLineOption::DevelopmentStatus

◆ IsHidden

bool clang::ento::CmdLineOption::IsHidden

◆ OptionName

StringRef clang::ento::CmdLineOption::OptionName

◆ OptionType

StringRef clang::ento::CmdLineOption::OptionType

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