|
clang 22.0.0git
|
CloneChecker is a checker that reports clones in the current translation unit. More...
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"#include "clang/Analysis/CloneDetection.h"#include "clang/Basic/Diagnostic.h"#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"#include "clang/StaticAnalyzer/Core/Checker.h"#include "clang/StaticAnalyzer/Core/CheckerManager.h"#include "clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h"#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"Go to the source code of this file.
Functions | |
| static PathDiagnosticLocation | makeLocation (const StmtSequence &S, AnalysisManager &Mgr) |
CloneChecker is a checker that reports clones in the current translation unit.
Definition in file CloneChecker.cpp.
|
static |
Definition at line 100 of file CloneChecker.cpp.
References clang::ento::PathDiagnosticLocation::createBegin(), clang::StmtSequence::front(), clang::ento::AnalysisManager::getAnalysisDeclContext(), clang::ento::AnalysisManager::getASTContext(), clang::ASTContext::getSourceManager(), and clang::ASTContext::getTranslationUnitDecl().