Searched refs:declRef (Results 1 – 10 of 10) sorted by relevance
/external/clang/lib/ARCMigrate/ |
D | TransARCAssign.cpp | 49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in VisitBinaryOperator() local 50 if (declRef && isa<VarDecl>(declRef->getDecl())) { in VisitBinaryOperator() 55 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in VisitBinaryOperator()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
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()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | ThrowByValueCatchByReferenceCheck.cpp | 82 auto *declRef = dyn_cast<DeclRefExpr>(inner); in diagnoseThrowLocations() local 83 if (declRef && isCatchVariable(declRef)) { in diagnoseThrowLocations()
|
/external/clang/lib/CodeGen/ |
D | CGBlocks.cpp | 805 DeclRefExpr declRef(const_cast<VarDecl *>(variable), in EmitBlockLiteral() local 809 src = EmitDeclRefLValue(&declRef).getAddress(); in EmitBlockLiteral() 872 DeclRefExpr declRef(const_cast<VarDecl *>(variable), in EmitBlockLiteral() local 877 &declRef, VK_RValue); in EmitBlockLiteral()
|
D | CGObjC.cpp | 302 const DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(ice->getSubExpr()); in shouldExtendReceiverForInnerPointerMessage() local 303 if (!declRef) return true; in shouldExtendReceiverForInnerPointerMessage() 304 const VarDecl *var = dyn_cast<VarDecl>(declRef->getDecl()); in shouldExtendReceiverForInnerPointerMessage()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 1609 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); in makeGroDeclAndReturnStmt() local 1610 if (declRef.isInvalid()) in makeGroDeclAndReturnStmt() 1613 StmtResult ReturnStmt = S.BuildReturnStmt(Loc, declRef.get()); in makeGroDeclAndReturnStmt()
|
D | SemaExpr.cpp | 12740 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in CheckForModifiableLvalue() local 12741 if (declRef && isa<VarDecl>(declRef->getDecl())) { in CheckForModifiableLvalue() 12742 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in CheckForModifiableLvalue()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBlocks.cpp | 947 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local 951 src = EmitDeclRefLValue(&declRef).getAddress(*this); in EmitBlockLiteral() 1021 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local 1026 &declRef, VK_RValue, FPOptionsOverride()); in EmitBlockLiteral()
|
D | CGObjC.cpp | 319 const DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(ice->getSubExpr()); in shouldExtendReceiverForInnerPointerMessage() local 320 if (!declRef) return true; in shouldExtendReceiverForInnerPointerMessage() 321 const VarDecl *var = dyn_cast<VarDecl>(declRef->getDecl()); in shouldExtendReceiverForInnerPointerMessage()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 9856 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in CheckForModifiableLvalue() local 9857 if (declRef && isa<VarDecl>(declRef->getDecl())) { in CheckForModifiableLvalue() 9858 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in CheckForModifiableLvalue()
|