clang  6.0.0svn
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>
Include dependency graph for CloneDetection.h:
This graph shows which files directly or indirectly include this file:

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

 clang
 Dataflow Directional Tag Classes.
 

Detailed Description

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

Definition in file CloneDetection.h.