Home
last modified time | relevance | path

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

/freebsd/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/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1817 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); in makeGroDeclAndReturnStmt() local
1818 if (declRef.isInvalid()) in makeGroDeclAndReturnStmt()
1821 ReturnStmt = S.BuildReturnStmt(Loc, declRef.get()); in makeGroDeclAndReturnStmt()
H A DSemaExpr.cpp13396 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in CheckForModifiableLvalue() local
13397 if (declRef && isa<VarDecl>(declRef->getDecl())) { in CheckForModifiableLvalue()
13398 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in CheckForModifiableLvalue()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp935 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local
939 src = EmitDeclRefLValue(&declRef).getAddress(); in EmitBlockLiteral()
1009 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local
1014 &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()