clang-tools 20.0.0git
Public Types | Static Public Member Functions | List of all members
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 = clang::tidy::cppcoreguidelines::SpecialMemberFunctionsCheck::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 81 of file SpecialMemberFunctionsCheck.h.

Member Typedef Documentation

◆ ClassDefId

Definition at line 83 of file SpecialMemberFunctionsCheck.h.

Member Function Documentation

◆ getEmptyKey()

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

Definition at line 86 of file SpecialMemberFunctionsCheck.h.

◆ getHashValue()

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

Definition at line 96 of file SpecialMemberFunctionsCheck.h.

◆ getTombstoneKey()

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

Definition at line 91 of file SpecialMemberFunctionsCheck.h.

◆ isEqual()

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

Definition at line 104 of file SpecialMemberFunctionsCheck.h.


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