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

A stored Objective-C or C++ declaration, represented by the ID of its parent context, and the name of the declaration. More...

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

Public Member Functions

 SingleDeclTableKey ()
 
 SingleDeclTableKey (uint32_t ParentContextID, uint32_t NameID)
 
 SingleDeclTableKey (std::optional< Context > ParentCtx, IdentifierID NameID)
 
llvm::hash_code hashValue () const
 

Public Attributes

uint32_t parentContextID
 
uint32_t nameID
 

Detailed Description

A stored Objective-C or C++ declaration, represented by the ID of its parent context, and the name of the declaration.

Definition at line 314 of file APINotesFormat.h.

Constructor & Destructor Documentation

◆ SingleDeclTableKey() [1/3]

clang::api_notes::SingleDeclTableKey::SingleDeclTableKey ( )
inline

Definition at line 318 of file APINotesFormat.h.

◆ SingleDeclTableKey() [2/3]

clang::api_notes::SingleDeclTableKey::SingleDeclTableKey ( uint32_t  ParentContextID,
uint32_t  NameID 
)
inline

Definition at line 320 of file APINotesFormat.h.

◆ SingleDeclTableKey() [3/3]

clang::api_notes::SingleDeclTableKey::SingleDeclTableKey ( std::optional< Context ParentCtx,
IdentifierID  NameID 
)
inline

Definition at line 323 of file APINotesFormat.h.

Member Function Documentation

◆ hashValue()

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

Member Data Documentation

◆ nameID

uint32_t clang::api_notes::SingleDeclTableKey::nameID

Definition at line 316 of file APINotesFormat.h.

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

◆ parentContextID

uint32_t clang::api_notes::SingleDeclTableKey::parentContextID

Definition at line 315 of file APINotesFormat.h.

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


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