Lines Matching refs:sym
321 RefCountReportVisitor(SymbolRef sym) : Sym(sym) {}
340 RefLeakReportVisitor(SymbolRef sym) : RefCountReportVisitor(sym) {}
811 ExplodedNode *n, SymbolRef sym, bool isLeak)
812 : PathSensitiveBugReport(D, D.getDescription(), n), Sym(sym),
815 addVisitor(std::make_unique<RefCountReportVisitor>(sym));
819 ExplodedNode *n, SymbolRef sym,
823 addVisitor(std::make_unique<RefCountReportVisitor>(sym));
826 void RefLeakReport::deriveParamLocation(CheckerContext &Ctx, SymbolRef sym) {
829 if (!sym->getOriginRegion())
832 auto *Region = dyn_cast<DeclRegion>(sym->getOriginRegion());
846 SymbolRef sym) {
860 GetAllocationSite(Ctx.getStateManager(), getErrorNode(), sym);
905 ExplodedNode *n, SymbolRef sym,
907 : RefCountReport(D, LOpts, n, sym, /*isLeak=*/true) {
909 deriveAllocLocation(Ctx, sym);
911 deriveParamLocation(Ctx, sym);
915 addVisitor(std::make_unique<RefLeakReportVisitor>(sym));