clang 19.0.0git
Public Member Functions | List of all members
clang::api_notes::GlobalVariableInfo Class Reference

Describes API notes data for a global variable. More...

#include "clang/APINotes/Types.h"

Inheritance diagram for clang::api_notes::GlobalVariableInfo:
Inheritance graph

Public Member Functions

 GlobalVariableInfo ()
- Public Member Functions inherited from clang::api_notes::VariableInfo
 VariableInfo ()
std::optional< NullabilityKindgetNullability () const
void setNullabilityAudited (NullabilityKind kind)
const std::string & getType () const
void setType (const std::string &type)
VariableInfooperator|= (const VariableInfo &RHS)
LLVM_DUMP_METHOD void dump (llvm::raw_ostream &OS) const
- Public Member Functions inherited from clang::api_notes::CommonEntityInfo
 CommonEntityInfo ()
std::optional< boolisSwiftPrivate () const
void setSwiftPrivate (std::optional< bool > Private)
CommonEntityInfooperator|= (const CommonEntityInfo &RHS)
LLVM_DUMP_METHOD void dump (llvm::raw_ostream &OS) const

Additional Inherited Members

- Public Attributes inherited from clang::api_notes::CommonEntityInfo
std::string UnavailableMsg
 Message to use when this entity is unavailable.
unsigned Unavailable: 1
 Whether this entity is marked unavailable.
unsigned UnavailableInSwift: 1
 Whether this entity is marked unavailable in Swift.
std::string SwiftName
 Swift name of this entity.

Detailed Description

Describes API notes data for a global variable.

Definition at line 654 of file Types.h.

Constructor & Destructor Documentation

◆ GlobalVariableInfo()

clang::api_notes::GlobalVariableInfo::GlobalVariableInfo ( )

Definition at line 656 of file Types.h.

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