Lines Matching defs:DeclRef
4321 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) {
4322 if (const auto *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) {
6706 ExprResult DeclRef =
6708 assert(DeclRef.isUsable() && "Builtin reference cannot fail");
6711 BuildCallExpr(/*Scope=*/nullptr, DeclRef.get(), Loc, CallArgs, Loc);
17485 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E);
17486 if (DeclRef) {
17487 const ValueDecl *Decl = DeclRef->getDecl();
17521 if (auto *DeclRef =
17523 DeclRef->setIsImmediateEscalating(true);
17526 } else if (auto *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreImplicit())) {
17527 DeclRef->setIsImmediateEscalating(true);
17547 if (auto *DeclRef =
17549 ExprEvalContexts.back().ReferenceToConsteval.erase(DeclRef);
18974 // tryCaptureVariable is called every time a DeclRef is formed,