clang 22.0.0git
ODRDiagsEmitter.cpp File Reference

Go to the source code of this file.

Functions

static unsigned computeODRHash (QualType Ty)
static unsigned computeODRHash (const Stmt *S)
static unsigned computeODRHash (const Decl *D)
static unsigned computeODRHash (const TemplateArgument &TA)
template<typename MethodT>
static bool diagnoseSubMismatchMethodParameters (DiagnosticsEngine &Diags, const NamedDecl *FirstContainer, StringRef FirstModule, StringRef SecondModule, const MethodT *FirstMethod, const MethodT *SecondMethod)

Function Documentation

◆ computeODRHash() [1/4]

unsigned computeODRHash ( const Decl * D)
static

◆ computeODRHash() [2/4]

unsigned computeODRHash ( const Stmt * S)
static

◆ computeODRHash() [3/4]

unsigned computeODRHash ( const TemplateArgument & TA)
static

◆ computeODRHash() [4/4]

◆ diagnoseSubMismatchMethodParameters()

template<typename MethodT>
bool diagnoseSubMismatchMethodParameters ( DiagnosticsEngine & Diags,
const NamedDecl * FirstContainer,
StringRef FirstModule,
StringRef SecondModule,
const MethodT * FirstMethod,
const MethodT * SecondMethod )
static