Lines Matching refs:VarDecl
31 bool isRefcountedStringsHack(const VarDecl *V) { in isRefcountedStringsHack()
53 const VarDecl *Guardian{nullptr};
55 explicit GuardianVisitor(const VarDecl *Guardian) : Guardian(Guardian) { in GuardianVisitor()
108 bool isGuardedScopeEmbeddedInGuardianScope(const VarDecl *Guarded, in isGuardedScopeEmbeddedInGuardianScope()
109 const VarDecl *MaybeGuardian) { in isGuardedScopeEmbeddedInGuardianScope()
218 bool VisitVarDecl(VarDecl *V) override { in checkASTDecl()
228 if (auto *V = dyn_cast<VarDecl>(VarRef->getDecl())) in checkASTDecl()
278 void visitVarDecl(const VarDecl *V, const Expr *Value, in visitVarDecl()
315 dyn_cast_or_null<VarDecl>(Ref->getFoundDecl())) { in visitVarDecl()
346 bool shouldSkipVarDecl(const VarDecl *V) const { in shouldSkipVarDecl()
353 void reportBug(const VarDecl *V, const Expr *Value, in reportBug()