clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::api_notes::ContextTableKey Struct Reference

A stored Objective-C or C++ context, represented by the ID of its parent context, the kind of this context (Objective-C class / C++ namespace / etc), and the ID of this context. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/APINotes/APINotesFormat.h"

Public Member Functions

 ContextTableKey ()
 
 ContextTableKey (uint32_t parentContextID, uint8_t contextKind, uint32_t contextID)
 
 ContextTableKey (std::optional< ContextID > ParentContextID, ContextKind Kind, uint32_t ContextID)
 
 ContextTableKey (std::optional< Context > ParentContext, ContextKind Kind, uint32_t ContextID)
 
llvm::hash_code hashValue () const
 

Public Attributes

uint32_t parentContextID
 
uint8_t contextKind
 
uint32_t contextID
 

Detailed Description

A stored Objective-C or C++ context, represented by the ID of its parent context, the kind of this context (Objective-C class / C++ namespace / etc), and the ID of this context.

Definition at line 278 of file APINotesFormat.h.

Constructor & Destructor Documentation

◆ ContextTableKey() [1/4]

clang::api_notes::ContextTableKey::ContextTableKey ( )
inline

Definition at line 283 of file APINotesFormat.h.

◆ ContextTableKey() [2/4]

clang::api_notes::ContextTableKey::ContextTableKey ( uint32_t  parentContextID,
uint8_t  contextKind,
uint32_t  contextID 
)
inline

Definition at line 285 of file APINotesFormat.h.

◆ ContextTableKey() [3/4]

clang::api_notes::ContextTableKey::ContextTableKey ( std::optional< ContextID ParentContextID,
ContextKind  Kind,
uint32_t  ContextID 
)
inline

Definition at line 290 of file APINotesFormat.h.

◆ ContextTableKey() [4/4]

clang::api_notes::ContextTableKey::ContextTableKey ( std::optional< Context ParentContext,
ContextKind  Kind,
uint32_t  ContextID 
)
inline

Definition at line 295 of file APINotesFormat.h.

Member Function Documentation

◆ hashValue()

llvm::hash_code clang::api_notes::ContextTableKey::hashValue ( ) const
inline

Member Data Documentation

◆ contextID

uint32_t clang::api_notes::ContextTableKey::contextID

Definition at line 281 of file APINotesFormat.h.

Referenced by hashValue(), and clang::api_notes::operator==().

◆ contextKind

uint8_t clang::api_notes::ContextTableKey::contextKind

Definition at line 280 of file APINotesFormat.h.

Referenced by hashValue(), and clang::api_notes::operator==().

◆ parentContextID

uint32_t clang::api_notes::ContextTableKey::parentContextID

Definition at line 279 of file APINotesFormat.h.

Referenced by hashValue(), and clang::api_notes::operator==().


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