Searched refs:Detector (Results 1 – 3 of 3) sorted by relevance
21 CloneDetector &Detector; member in clang::analysis::__anon92d107290111::CloneDetectionVisitor24 explicit CloneDetectionVisitor(CloneDetector &D) : Detector(D) {} in CloneDetectionVisitor()27 Detector.analyzeCodeBody(D); in VisitFunctionDecl()62 CloneDetector Detector; in TEST() local64 CloneDetectionVisitor Visitor(Detector); in TEST()70 Detector.findClones(CloneGroups, NoBarFunctionConstraint(), in TEST()89 Detector.findClones(CloneGroups, RecursiveCloneTypeIIHashConstraint(), in TEST()
37 mutable CloneDetector Detector; member in __anon1c0cc1640111::CloneChecker63 Detector.analyzeCodeBody(D); in checkASTCodeBody()77 Detector.findClones( in checkEndOfTranslationUnit()
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() local3472 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() local3491 switch (Detector.analyzeField(Field, DeleteWasArrayForm)) { in AnalyzeDeleteExprMismatch()[all …]