Home
last modified time | relevance | path

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

/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()
/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1859 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); in buildVarDecl()
1860 if (declRef.isInvalid()) in buildVarDecl()
1863 ReturnStmt = S.BuildReturnStmt(Loc, declRef.get());
1816 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); makeGroDeclAndReturnStmt() local
H A DSemaExpr.cpp13599 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in CheckAssignmentOperands()
13600 if (declRef && isa<VarDecl>(declRef->getDecl())) { in CheckAssignmentOperands()
13601 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in CheckAssignmentOperands()
13344 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); CheckForModifiableLvalue() local
/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp934 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral()
938 src = EmitDeclRefLValue(&declRef).getAddress(); in EmitBlockLiteral()
1008 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral()
1013 &declRef, VK_PRValue, FPOptionsOverride()); in EmitBlockLiteral()
926 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), EmitBlockLiteral() local
1000 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), EmitBlockLiteral() local
H A DCGObjC.cpp323 const DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(ice->getSubExpr()); in shouldExtendReceiverForInnerPointerMessage()
324 if (!declRef) return true; in shouldExtendReceiverForInnerPointerMessage() local
325 const VarDecl *var = dyn_cast<VarDecl>(declRef->getDecl()); in shouldExtendReceiverForInnerPointerMessage()