Searched refs:declRef (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransARCAssign.cpp | 48 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 D | SemaCoroutine.cpp | 1907 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 D | SemaExpr.cpp | 14424 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 D | CGBlocks.cpp | 925 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 D | CGObjC.cpp | 324 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()
|