Home
last modified time | relevance | path

Searched refs:declRef (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in VisitBinaryOperator() local
50 if (declRef && isa<VarDecl>(declRef->getDecl())) { in VisitBinaryOperator()
55 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in VisitBinaryOperator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCoroutine.cpp1453 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); in makeGroDeclAndReturnStmt() local
1454 if (declRef.isInvalid()) in makeGroDeclAndReturnStmt()
1457 StmtResult ReturnStmt = S.BuildReturnStmt(Loc, declRef.get()); in makeGroDeclAndReturnStmt()
H A DSemaExpr.cpp11212 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in CheckForModifiableLvalue() local
11213 if (declRef && isa<VarDecl>(declRef->getDecl())) { in CheckForModifiableLvalue()
11214 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in CheckForModifiableLvalue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBlocks.cpp1081 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local
1085 src = EmitDeclRefLValue(&declRef).getAddress(); in EmitBlockLiteral()
1155 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local
1160 &declRef, VK_RValue); in EmitBlockLiteral()
H A DCGObjC.cpp316 const DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(ice->getSubExpr()); in shouldExtendReceiverForInnerPointerMessage() local
317 if (!declRef) return true; in shouldExtendReceiverForInnerPointerMessage()
318 const VarDecl *var = dyn_cast<VarDecl>(declRef->getDecl()); in shouldExtendReceiverForInnerPointerMessage()