clang 22.0.0git
CheckObjCInstMethSignature.cpp File Reference

Go to the source code of this file.

Functions

static bool AreTypesCompatible (QualType Derived, QualType Ancestor, ASTContext &C)
static void CompareReturnTypes (const ObjCMethodDecl *MethDerived, const ObjCMethodDecl *MethAncestor, BugReporter &BR, ASTContext &Ctx, const ObjCImplementationDecl *ID, const CheckerBase *Checker)
static void CheckObjCInstMethSignature (const ObjCImplementationDecl *ID, BugReporter &BR, const CheckerBase *Checker)

Function Documentation

◆ AreTypesCompatible()

bool AreTypesCompatible ( QualType Derived,
QualType Ancestor,
ASTContext & C )
static

Definition at line 28 of file CheckObjCInstMethSignature.cpp.

References clang::C, and clang::Type::isAnyPointerType().

Referenced by CompareReturnTypes().

◆ CheckObjCInstMethSignature()

void CheckObjCInstMethSignature ( const ObjCImplementationDecl * ID,
BugReporter & BR,
const CheckerBase * Checker )
static

◆ CompareReturnTypes()