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 332 of file APINotesFormat.h.

Constructor & Destructor Documentation

◆ SingleDeclTableKey() [1/3]

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

Definition at line 336 of file APINotesFormat.h.

◆ SingleDeclTableKey() [2/3]

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

Definition at line 338 of file APINotesFormat.h.

◆ SingleDeclTableKey() [3/3]

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

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

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

◆ parentContextID

uint32_t clang::api_notes::SingleDeclTableKey::parentContextID

Definition at line 333 of file APINotesFormat.h.

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


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