clang 19.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< Context > context, IdentifierID nameID)
 
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 260 of file APINotesFormat.h.

Constructor & Destructor Documentation

◆ ContextTableKey() [1/3]

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

Definition at line 265 of file APINotesFormat.h.

◆ ContextTableKey() [2/3]

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

Definition at line 267 of file APINotesFormat.h.

◆ ContextTableKey() [3/3]

clang::api_notes::ContextTableKey::ContextTableKey ( std::optional< Context context,
IdentifierID  nameID 
)
inline

Definition at line 272 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 263 of file APINotesFormat.h.

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

◆ contextKind

uint8_t clang::api_notes::ContextTableKey::contextKind

Definition at line 262 of file APINotesFormat.h.

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

◆ parentContextID

uint32_t clang::api_notes::ContextTableKey::parentContextID

Definition at line 261 of file APINotesFormat.h.

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


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