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

/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp507 void VisitDeclRefExpr(const DeclRefExpr *DeclRef);
832 void ConsumedStmtVisitor::VisitDeclRefExpr(const DeclRefExpr *DeclRef) { argument
833 if (const auto *Var = dyn_cast_or_null<VarDecl>(DeclRef->getDecl()))
835 PropagationMap.insert(PairType(DeclRef, PropagationInfo(Var)));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp303 ExprResult DeclRef = local
305 assert(DeclRef.isUsable() && "Builtin reference cannot fail");
308 S.BuildCallExpr(/*Scope=*/nullptr, DeclRef.get(), Loc, CallArgs, Loc);
1143 if (auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) {
1144 auto *Decl = DeclRef->getDecl();
H A DSemaStmt.cpp1008 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) {
1009 PrevString = DeclRef->getDecl()->getName();
1011 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) {
1012 CurrString = DeclRef->getDecl()->getName();
H A DSema.cpp2176 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) {
2177 if (const FunctionDecl *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) {
H A DSemaExpr.cpp4111 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) {
4112 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) {
16086 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E); local
16087 if (DeclRef) {
16088 const ValueDecl *Decl = DeclRef->getDecl();
16130 if (auto *DeclRef =
16132 ExprEvalContexts.back().ReferenceToConsteval.erase(DeclRef);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3923 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) {
3924 if (FieldDecl *Field = dyn_cast<FieldDecl>(DeclRef->getDecl()))
3928 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl()))

Completed in 312 milliseconds