clang 20.0.0git
Functions
SemaPseudoObject.cpp File Reference
#include "clang/Sema/SemaPseudoObject.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/ExprObjC.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Initialization.h"
#include "clang/Sema/ScopeInfo.h"
#include "clang/Sema/SemaInternal.h"
#include "clang/Sema/SemaObjC.h"
#include "llvm/ADT/SmallString.h"

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()

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

◆ LookupMethodInReceiverType()

static ObjCMethodDecl * LookupMethodInReceiverType ( Sema S,
Selector  sel,
const ObjCPropertyRefExpr PRE 
)
static

◆ stripOpaqueValuesFromPseudoObjectRef()

static 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 1547 of file SemaPseudoObject.cpp.

References E.

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