Lines Matching refs:Detector
3565 const MismatchingNewDeleteDetector &Detector) { in DiagnoseMismatchedNewDelete() argument
3568 if (!Detector.IsArrayForm) in DiagnoseMismatchedNewDelete()
3578 << Detector.IsArrayForm << H; in DiagnoseMismatchedNewDelete()
3580 for (const auto *NE : Detector.NewExprs) in DiagnoseMismatchedNewDelete()
3582 << Detector.IsArrayForm; in DiagnoseMismatchedNewDelete()
3588 MismatchingNewDeleteDetector Detector(/*EndOfTU=*/false); in AnalyzeDeleteExprMismatch() local
3589 switch (Detector.analyzeDeleteExpr(DE)) { in AnalyzeDeleteExprMismatch()
3592 DiagnoseMismatchedNewDelete(*this, DE->getBeginLoc(), Detector); in AnalyzeDeleteExprMismatch()
3596 DeleteExprs[Detector.Field].push_back( in AnalyzeDeleteExprMismatch()
3607 MismatchingNewDeleteDetector Detector(/*EndOfTU=*/true); in AnalyzeDeleteExprMismatch() local
3608 switch (Detector.analyzeField(Field, DeleteWasArrayForm)) { in AnalyzeDeleteExprMismatch()
3615 DiagnoseMismatchedNewDelete(*this, DeleteLoc, Detector); in AnalyzeDeleteExprMismatch()