Searched refs:declRef (Results 1 – 5 of 5) sorted by relevance
/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()
|
/llvm-project/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 1859 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 D | SemaExpr.cpp | 13599 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 D | CGBlocks.cpp | 934 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 D | CGObjC.cpp | 323 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()
|