clang  14.0.0git
Functions
SemaPseudoObject.cpp File Reference
#include "clang/Sema/SemaInternal.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 "llvm/ADT/SmallString.h"
Include dependency graph for SemaPseudoObject.cpp:

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. More...
 
static void CheckKeyForObjCARCConversion (Sema &S, QualType ContainerT, Expr *Key)
 CheckKeyForObjCARCConversion - This routine suggests bridge casting of CF objects used as dictionary subscript key objects. More...
 
static ExprstripOpaqueValuesFromPseudoObjectRef (Sema &S, Expr *E)
 Given a pseudo-object reference, rebuild it without the opaque values. More...
 

Function Documentation

◆ CheckKeyForObjCARCConversion()

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

CheckKeyForObjCARCConversion - This routine suggests bridge casting of CF objects used as dictionary subscript key objects.

Definition at line 1118 of file SemaPseudoObject.cpp.

◆ LookupMethodInReceiverType()

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

Look up a method in the receiver type of an Objective-C property reference.

Definition at line 547 of file SemaPseudoObject.cpp.

◆ 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 1624 of file SemaPseudoObject.cpp.

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