Home
last modified time | relevance | path

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

/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1576 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); in makeGroDeclAndReturnStmt() local
1577 if (declRef.isInvalid()) in makeGroDeclAndReturnStmt()
1580 StmtResult ReturnStmt = S.BuildReturnStmt(Loc, declRef.get()); in makeGroDeclAndReturnStmt()
H A DSemaExpr.cpp12979 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in CheckForModifiableLvalue() local
12980 if (declRef && isa<VarDecl>(declRef->getDecl())) { in CheckForModifiableLvalue()
12981 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in CheckForModifiableLvalue()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp947 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local
951 src = EmitDeclRefLValue(&declRef).getAddress(*this); in EmitBlockLiteral()
1021 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local
1026 &declRef, VK_PRValue, FPOptionsOverride()); in EmitBlockLiteral()
H A DCGObjC.cpp320 const DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(ice->getSubExpr()); in shouldExtendReceiverForInnerPointerMessage() local
321 if (!declRef) return true; in shouldExtendReceiverForInnerPointerMessage()
322 const VarDecl *var = dyn_cast<VarDecl>(declRef->getDecl()); in shouldExtendReceiverForInnerPointerMessage()