clang  14.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
[legend]
Collaboration diagram for clang::api_notes::GlobalVariableInfo:
Collaboration graph
[legend]

Public Member Functions

 GlobalVariableInfo ()
 
- Public Member Functions inherited from clang::api_notes::VariableInfo
 VariableInfo ()
 
llvm::Optional< NullabilityKindgetNullability () const
 
void setNullabilityAudited (NullabilityKind kind)
 
const std::stringgetType () 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 ()
 
llvm::Optional< boolisSwiftPrivate () const
 
void setSwiftPrivate (llvm::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. More...
 
unsigned Unavailable: 1
 Whether this entity is marked unavailable. More...
 
unsigned UnavailableInSwift: 1
 Whether this entity is marked unavailable in Swift. More...
 
std::string SwiftName
 Swift name of this entity. More...
 

Detailed Description

Describes API notes data for a global variable.

Definition at line 640 of file Types.h.

Constructor & Destructor Documentation

◆ GlobalVariableInfo()

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

Definition at line 642 of file Types.h.


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