clang 24.0.0git
clang::api_notes::APINotesFunctionSelectorKey Struct Reference

Stable reader-facing identity for an API notes function selector entry. More...

#include "clang/APINotes/Types.h"

Public Member Functions

APINotesFunctionSelectorKey getWithoutParameterSelector () const
llvm::hash_code hashValue () const

Public Attributes

FunctionTableKey Key
bool IsCXXMethod = false

Detailed Description

Stable reader-facing identity for an API notes function selector entry.

The key keeps the serialized function table identity together with the table kind. parentContextID names only the declaration context and does not say whether the entry came from the global-function or C++-method table.

Definition at line 1068 of file Types.h.

Member Function Documentation

◆ getWithoutParameterSelector()

APINotesFunctionSelectorKey clang::api_notes::APINotesFunctionSelectorKey::getWithoutParameterSelector ( ) const
inline

Definition at line 1072 of file Types.h.

References IsCXXMethod, and Key.

Referenced by clang::APINotesSelectorDiagnosticReaderState::noteSeenDeclaration().

◆ hashValue()

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

Member Data Documentation

◆ IsCXXMethod

bool clang::api_notes::APINotesFunctionSelectorKey::IsCXXMethod = false

Definition at line 1070 of file Types.h.

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

◆ Key


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