Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp48 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in VisitBinaryOperator() local
49 if (declRef && isa<VarDecl>(declRef->getDecl())) { in VisitBinaryOperator()
54 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in VisitBinaryOperator()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1907 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); in makeGroDeclAndReturnStmt() local
1908 if (declRef.isInvalid()) in makeGroDeclAndReturnStmt()
1911 ReturnStmt = S.BuildReturnStmt(Loc, declRef.get()); in makeGroDeclAndReturnStmt()
H A DSemaExpr.cpp14424 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in CheckForModifiableLvalue() local
14425 if (declRef && isa<VarDecl>(declRef->getDecl())) { in CheckForModifiableLvalue()
14426 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in CheckForModifiableLvalue()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp925 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local
929 src = EmitDeclRefLValue(&declRef).getAddress(*this); in EmitBlockLiteral()
999 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local
1004 &declRef, VK_PRValue, FPOptionsOverride()); in EmitBlockLiteral()
H A DCGObjC.cpp324 const DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(ice->getSubExpr()); in shouldExtendReceiverForInnerPointerMessage() local
325 if (!declRef) return true; in shouldExtendReceiverForInnerPointerMessage()
326 const VarDecl *var = dyn_cast<VarDecl>(declRef->getDecl()); in shouldExtendReceiverForInnerPointerMessage()