clang 20.0.0git
Classes | Namespaces
CloneDetection.h File Reference

This file defines classes for searching and analyzing source code clones. More...

#include "clang/AST/StmtVisitor.h"
#include "llvm/Support/Regex.h"
#include <vector>

Go to the source code of this file.

Classes

class  clang::StmtSequence
 Identifies a list of statements. More...
 
class  clang::CloneDetector
 Searches for similar subtrees in the AST. More...
 
class  clang::CloneConstraint
 This class is a utility class that contains utility functions for building custom constraints. More...
 
class  clang::RecursiveCloneTypeIIHashConstraint
 This constraint moves clones into clone groups of type II via hashing. More...
 
class  clang::RecursiveCloneTypeIIVerifyConstraint
 This constraint moves clones into clone groups of type II by comparing them. More...
 
class  clang::MinComplexityConstraint
 Ensures that every clone has at least the given complexity. More...
 
class  clang::MinGroupSizeConstraint
 Ensures that all clone groups contain at least the given amount of clones. More...
 
struct  clang::OnlyLargestCloneConstraint
 Ensures that no clone group fully contains another clone group. More...
 
struct  clang::FilenamePatternConstraint
 
class  clang::VariablePattern
 Analyzes the pattern of the referenced variables in a statement. More...
 
struct  clang::VariablePattern::SuspiciousClonePair
 Describes two clones that reference their variables in a different pattern which could indicate a programming error. More...
 
struct  clang::VariablePattern::SuspiciousClonePair::SuspiciousCloneInfo
 Utility class holding the relevant information about a single clone in this pair. More...
 
struct  clang::MatchingVariablePatternConstraint
 Ensures that all clones reference variables in the same pattern. More...
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Detailed Description

This file defines classes for searching and analyzing source code clones.

Definition in file CloneDetection.h.