Lines Matching defs:DeclRef
4280 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) {
4281 if (const auto *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) {
6618 ExprResult DeclRef =
6620 assert(DeclRef.isUsable() && "Builtin reference cannot fail");
6623 BuildCallExpr(/*Scope=*/nullptr, DeclRef.get(), Loc, CallArgs, Loc);
17238 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E);
17239 if (DeclRef) {
17240 const ValueDecl *Decl = DeclRef->getDecl();
17274 if (auto *DeclRef =
17276 DeclRef->setIsImmediateEscalating(true);
17279 } else if (auto *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreImplicit())) {
17280 DeclRef->setIsImmediateEscalating(true);
17300 if (auto *DeclRef =
17302 ExprEvalContexts.back().ReferenceToConsteval.erase(DeclRef);
18698 // tryCaptureVariable is called every time a DeclRef is formed,