Lines Matching refs:Detector
3448 const MismatchingNewDeleteDetector &Detector) { in DiagnoseMismatchedNewDelete() argument
3451 if (!Detector.IsArrayForm) in DiagnoseMismatchedNewDelete()
3461 << Detector.IsArrayForm << H; in DiagnoseMismatchedNewDelete()
3463 for (const auto *NE : Detector.NewExprs) in DiagnoseMismatchedNewDelete()
3465 << Detector.IsArrayForm; in DiagnoseMismatchedNewDelete()
3471 MismatchingNewDeleteDetector Detector(/*EndOfTU=*/false); in AnalyzeDeleteExprMismatch() local
3472 switch (Detector.analyzeDeleteExpr(DE)) { in AnalyzeDeleteExprMismatch()
3475 DiagnoseMismatchedNewDelete(*this, DE->getBeginLoc(), Detector); in AnalyzeDeleteExprMismatch()
3479 DeleteExprs[Detector.Field].push_back( in AnalyzeDeleteExprMismatch()
3490 MismatchingNewDeleteDetector Detector(/*EndOfTU=*/true); in AnalyzeDeleteExprMismatch() local
3491 switch (Detector.analyzeField(Field, DeleteWasArrayForm)) { in AnalyzeDeleteExprMismatch()
3498 DiagnoseMismatchedNewDelete(*this, DeleteLoc, Detector); in AnalyzeDeleteExprMismatch()