Lines Matching refs:Detector
2780 const MismatchingNewDeleteDetector &Detector) { in DiagnoseMismatchedNewDelete() argument
2783 if (!Detector.IsArrayForm) in DiagnoseMismatchedNewDelete()
2793 << Detector.IsArrayForm << H; in DiagnoseMismatchedNewDelete()
2795 for (const auto *NE : Detector.NewExprs) in DiagnoseMismatchedNewDelete()
2797 << Detector.IsArrayForm; in DiagnoseMismatchedNewDelete()
2803 MismatchingNewDeleteDetector Detector(/*EndOfTU=*/false); in AnalyzeDeleteExprMismatch() local
2804 switch (Detector.analyzeDeleteExpr(DE)) { in AnalyzeDeleteExprMismatch()
2807 DiagnoseMismatchedNewDelete(*this, DE->getLocStart(), Detector); in AnalyzeDeleteExprMismatch()
2811 DeleteExprs[Detector.Field].push_back( in AnalyzeDeleteExprMismatch()
2822 MismatchingNewDeleteDetector Detector(/*EndOfTU=*/true); in AnalyzeDeleteExprMismatch() local
2823 switch (Detector.analyzeField(Field, DeleteWasArrayForm)) { in AnalyzeDeleteExprMismatch()
2830 DiagnoseMismatchedNewDelete(*this, DeleteLoc, Detector); in AnalyzeDeleteExprMismatch()