clang 22.0.0git
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 296 of file APINotesFormat.h.

Constructor & Destructor Documentation

◆ ContextTableKey() [1/4]

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

Definition at line 301 of file APINotesFormat.h.

References contextID, contextKind, and parentContextID.

Referenced by ContextTableKey().

◆ ContextTableKey() [2/4]

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

Definition at line 303 of file APINotesFormat.h.

References contextID, contextKind, and parentContextID.

◆ ContextTableKey() [3/4]

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

Definition at line 308 of file APINotesFormat.h.

References contextID, contextKind, and parentContextID.

◆ ContextTableKey() [4/4]

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

Definition at line 313 of file APINotesFormat.h.

References ContextTableKey().

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

◆ contextKind

uint8_t clang::api_notes::ContextTableKey::contextKind

◆ parentContextID

uint32_t clang::api_notes::ContextTableKey::parentContextID

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