Home
last modified time | relevance | path

Searched refs:DeclRef (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCoroutine.cpp324 ExprResult DeclRef = in buildBuiltinCall() local
326 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() local
1031 auto *Decl = DeclRef->getDecl(); in diagReturnOnAllocFailure()
H A DSema.cpp1707 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall() local
1708 if (const FunctionDecl *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) { in tryExprAsCall()
H A DSemaStmt.cpp971 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) { in ActOnFinishSwitchStmt() local
972 PrevString = DeclRef->getDecl()->getName(); in ActOnFinishSwitchStmt()
974 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) { in ActOnFinishSwitchStmt() local
975 CurrString = DeclRef->getDecl()->getName(); in ActOnFinishSwitchStmt()
H A DSemaExpr.cpp3746 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() local
3747 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand()
14476 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E); in WarnOnPendingNoDerefs() local
14477 if (DeclRef) { in WarnOnPendingNoDerefs()
14478 const ValueDecl *Decl = DeclRef->getDecl(); in WarnOnPendingNoDerefs()
15052 Expr *DeclRef = new (S.Context) DeclRefExpr( in captureInBlock() local
15059 Loc, DeclRef); in captureInBlock()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DConsumed.cpp508 void VisitDeclRefExpr(const DeclRefExpr *DeclRef);
833 void ConsumedStmtVisitor::VisitDeclRefExpr(const DeclRefExpr *DeclRef) { in VisitDeclRefExpr() argument
834 if (const auto *Var = dyn_cast_or_null<VarDecl>(DeclRef->getDecl())) in VisitDeclRefExpr()
836 PropagationMap.insert(PairType(DeclRef, PropagationInfo(Var))); in VisitDeclRefExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp3617 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField() local
3618 if (FieldDecl *Field = dyn_cast<FieldDecl>(DeclRef->getDecl())) in getSourceBitField()
3622 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()