clang 20.0.0git
|
#include "clang/Analysis/CloneDetection.h"
Public Member Functions | |
FilenamePatternConstraint (StringRef IgnoredFilesPattern) | |
bool | isAutoGenerated (const CloneDetector::CloneGroup &Group) |
void | constrain (std::vector< CloneDetector::CloneGroup > &CloneGroups) |
Public Attributes | |
StringRef | IgnoredFilesPattern |
std::shared_ptr< llvm::Regex > | IgnoredFilesRegex |
Definition at line 322 of file CloneDetection.h.
|
inline |
Definition at line 326 of file CloneDetection.h.
References IgnoredFilesPattern, and IgnoredFilesRegex.
|
inline |
Definition at line 334 of file CloneDetection.h.
References clang::CloneConstraint::filterGroups(), and isAutoGenerated().
bool FilenamePatternConstraint::isAutoGenerated | ( | const CloneDetector::CloneGroup & | Group | ) |
Definition at line 154 of file CloneDetection.cpp.
References Filename, clang::Sema::getASTContext(), clang::ASTContext::getSourceManager(), IgnoredFilesPattern, IgnoredFilesRegex, and SM.
Referenced by constrain().
StringRef clang::FilenamePatternConstraint::IgnoredFilesPattern |
Definition at line 323 of file CloneDetection.h.
Referenced by FilenamePatternConstraint(), and isAutoGenerated().
std::shared_ptr<llvm::Regex> clang::FilenamePatternConstraint::IgnoredFilesRegex |
Definition at line 324 of file CloneDetection.h.
Referenced by FilenamePatternConstraint(), and isAutoGenerated().