Home
last modified time | relevance | path

Searched refs:Detector (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Analysis/
H A DCloneDetectionTest.cpp21 CloneDetector &Detector; member in clang::analysis::__anon92d107290111::CloneDetectionVisitor
24 explicit CloneDetectionVisitor(CloneDetector &D) : Detector(D) {} in CloneDetectionVisitor()
27 Detector.analyzeCodeBody(D); in VisitFunctionDecl()
62 CloneDetector Detector; in TEST() local
64 CloneDetectionVisitor Visitor(Detector); in TEST()
70 Detector.findClones(CloneGroups, NoBarFunctionConstraint(), in TEST()
89 Detector.findClones(CloneGroups, RecursiveCloneTypeIIHashConstraint(), in TEST()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCloneChecker.cpp37 mutable CloneDetector Detector; member in __anon1c0cc1640111::CloneChecker
63 Detector.analyzeCodeBody(D); in checkASTCodeBody()
77 Detector.findClones( in checkEndOfTranslationUnit()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprCXX.cpp3451 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()
[all …]