clang 22.0.0git
SemaPseudoObject.cpp File Reference

Go to the source code of this file.

Functions

static ObjCMethodDeclLookupMethodInReceiverType (Sema &S, Selector sel, const ObjCPropertyRefExpr *PRE)
 Look up a method in the receiver type of an Objective-C property reference.
static void CheckKeyForObjCARCConversion (Sema &S, QualType ContainerT, Expr *Key)
 CheckKeyForObjCARCConversion - This routine suggests bridge casting of CF objects used as dictionary subscript key objects.
static ExprstripOpaqueValuesFromPseudoObjectRef (Sema &S, Expr *E)
 Given a pseudo-object reference, rebuild it without the opaque values.

Function Documentation

◆ CheckKeyForObjCARCConversion()

void CheckKeyForObjCARCConversion ( Sema & S,
QualType ContainerT,
Expr * Key )
static

◆ LookupMethodInReceiverType()

◆ stripOpaqueValuesFromPseudoObjectRef()

Expr * stripOpaqueValuesFromPseudoObjectRef ( Sema & S,
Expr * E )
static

Given a pseudo-object reference, rebuild it without the opaque values.

Basically, undo the behavior of rebuildAndCaptureObject. This should never operate in-place.

Definition at line 1545 of file SemaPseudoObject.cpp.

References clang::cast().

Referenced by clang::SemaPseudoObject::recreateSyntacticForm().