Searched refs:declRef (Results 1 – 5 of 5) sorted by relevance
/freebsd/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/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 1817 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 D | SemaExpr.cpp | 13396 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 D | CGBlocks.cpp | 935 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 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()
|