clang-tools 19.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 80 of file SpecialMemberFunctionsCheck.h.

Member Typedef Documentation

◆ ClassDefId

Definition at line 82 of file SpecialMemberFunctionsCheck.h.

Member Function Documentation

◆ getEmptyKey()

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

Definition at line 85 of file SpecialMemberFunctionsCheck.h.

◆ getHashValue()

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

Definition at line 95 of file SpecialMemberFunctionsCheck.h.

◆ getTombstoneKey()

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

Definition at line 90 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 103 of file SpecialMemberFunctionsCheck.h.


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