clang API Documentation

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)
static void CheckKeyForObjCARCConversion (Sema &S, QualType ContainerT, Expr *Key)
static ExprstripOpaqueValuesFromPseudoObjectRef (Sema &S, Expr *E)

Function Documentation

static void CheckKeyForObjCARCConversion ( Sema S,
QualType  ContainerT,
Expr Key 
) [static]
static ObjCMethodDecl* LookupMethodInReceiverType ( Sema S,
Selector  sel,
const ObjCPropertyRefExpr PRE 
) [static]
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 1580 of file SemaPseudoObject.cpp.

References clang::MSPropertyRefExpr::getBaseExpr(), clang::OpaqueValueExpr::getSourceExpr(), and clang::Expr::IgnoreParens().

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