clang 20.0.0git
|
#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 ObjCMethodDecl * | LookupMethodInReceiverType (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 Expr * | stripOpaqueValuesFromPseudoObjectRef (Sema &S, Expr *E) |
Given a pseudo-object reference, rebuild it without the opaque values. | |
CheckKeyForObjCARCConversion - This routine suggests bridge casting of CF objects used as dictionary subscript key objects.
Definition at line 1052 of file SemaPseudoObject.cpp.
References clang::SemaObjC::CheckObjCConversion(), clang::Sema::Context, clang::IdentifierTable::get(), clang::SelectorTable::getSelector(), clang::Stmt::getSourceRange(), clang::ASTContext::Idents, clang::QualType::isNull(), clang::SemaObjC::LookupMethodInObjectType(), clang::Sema::ObjC(), clang::ObjCMethodDecl::parameters(), clang::ASTContext::Selectors, and clang::T.
|
static |
Look up a method in the receiver type of an Objective-C property reference.
Definition at line 554 of file SemaPseudoObject.cpp.
References clang::Type::castAs(), clang::Sema::Context, clang::Sema::CurContext, clang::Type::getAs(), clang::ObjCPropertyRefExpr::getBase(), clang::ObjCMethodDecl::getClassInterface(), clang::ObjCPropertyRefExpr::getClassReceiver(), clang::DeclContext::getNonClosureAncestor(), clang::ASTContext::getObjCInterfaceType(), clang::ObjCObjectPointerType::getPointeeType(), clang::ObjCPropertyRefExpr::getSuperReceiverType(), clang::Expr::getType(), clang::ObjCPropertyRefExpr::isClassReceiver(), clang::ObjCObjectPointerType::isObjCClassType(), clang::ObjCPropertyRefExpr::isObjectReceiver(), clang::SemaObjC::isSelfExpr(), clang::ObjCPropertyRefExpr::isSuperReceiver(), clang::SemaObjC::LookupMethodInObjectType(), and clang::Sema::ObjC().
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().