clang-tools 22.0.0git
llvm::DenseMapInfo< clang::tidy::cppcoreguidelines::SpecialMemberFunctionsCheck::ClassDefId > Struct Reference

Specialization of DenseMapInfo to allow ClassDefId objects in DenseMaps FIXME: Move this to the corresponding cpp file as is done for clang-tidy/readability/IdentifierNamingCheck.cpp. More...

#include <SpecialMemberFunctionsCheck.h>

Public Types

using ClassDefId

Static Public Member Functions

static ClassDefId getEmptyKey ()
static ClassDefId getTombstoneKey ()
static unsigned getHashValue (ClassDefId Val)
static bool isEqual (const ClassDefId &LHS, const ClassDefId &RHS)

Detailed Description

Specialization of DenseMapInfo to allow ClassDefId objects in DenseMaps FIXME: Move this to the corresponding cpp file as is done for clang-tidy/readability/IdentifierNamingCheck.cpp.

Definition at line 82 of file SpecialMemberFunctionsCheck.h.

Member Typedef Documentation

◆ ClassDefId

Member Function Documentation

◆ getEmptyKey()

ClassDefId llvm::DenseMapInfo< clang::tidy::cppcoreguidelines::SpecialMemberFunctionsCheck::ClassDefId >::getEmptyKey ( )
inlinestatic

Definition at line 87 of file SpecialMemberFunctionsCheck.h.

Referenced by getHashValue(), and isEqual().

◆ getHashValue()

unsigned llvm::DenseMapInfo< clang::tidy::cppcoreguidelines::SpecialMemberFunctionsCheck::ClassDefId >::getHashValue ( ClassDefId Val)
inlinestatic

Definition at line 96 of file SpecialMemberFunctionsCheck.h.

References getEmptyKey(), and getTombstoneKey().

◆ getTombstoneKey()

ClassDefId llvm::DenseMapInfo< clang::tidy::cppcoreguidelines::SpecialMemberFunctionsCheck::ClassDefId >::getTombstoneKey ( )
inlinestatic

Definition at line 91 of file SpecialMemberFunctionsCheck.h.

Referenced by getHashValue(), and isEqual().

◆ isEqual()

bool llvm::DenseMapInfo< clang::tidy::cppcoreguidelines::SpecialMemberFunctionsCheck::ClassDefId >::isEqual ( const ClassDefId & LHS,
const ClassDefId & RHS )
inlinestatic

Definition at line 104 of file SpecialMemberFunctionsCheck.h.

References getEmptyKey(), and getTombstoneKey().


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