Searched refs:DeclRef (Results 1 – 6 of 6) sorted by relevance
324 ExprResult DeclRef = in buildBuiltinCall() local326 assert(DeclRef.isUsable() && "Builtin reference cannot fail"); in buildBuiltinCall()329 S.ActOnCallExpr(/*Scope=*/nullptr, DeclRef.get(), Loc, CallArgs, Loc); in buildBuiltinCall()1030 if (auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) { in diagReturnOnAllocFailure() local1031 auto *Decl = DeclRef->getDecl(); in diagReturnOnAllocFailure()
1707 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall() local1708 if (const FunctionDecl *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) { in tryExprAsCall()
971 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) { in ActOnFinishSwitchStmt() local972 PrevString = DeclRef->getDecl()->getName(); in ActOnFinishSwitchStmt()974 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) { in ActOnFinishSwitchStmt() local975 CurrString = DeclRef->getDecl()->getName(); in ActOnFinishSwitchStmt()
3746 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() local3747 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand()14476 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E); in WarnOnPendingNoDerefs() local14477 if (DeclRef) { in WarnOnPendingNoDerefs()14478 const ValueDecl *Decl = DeclRef->getDecl(); in WarnOnPendingNoDerefs()15052 Expr *DeclRef = new (S.Context) DeclRefExpr( in captureInBlock() local15059 Loc, DeclRef); in captureInBlock()
508 void VisitDeclRefExpr(const DeclRefExpr *DeclRef);833 void ConsumedStmtVisitor::VisitDeclRefExpr(const DeclRefExpr *DeclRef) { in VisitDeclRefExpr() argument834 if (const auto *Var = dyn_cast_or_null<VarDecl>(DeclRef->getDecl())) in VisitDeclRefExpr()836 PropagationMap.insert(PairType(DeclRef, PropagationInfo(Var))); in VisitDeclRefExpr()
3617 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField() local3618 if (FieldDecl *Field = dyn_cast<FieldDecl>(DeclRef->getDecl())) in getSourceBitField()3622 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()