clang  6.0.0svn
Public Member Functions | List of all members
clang::RecursiveCloneTypeIIVerifyConstraint Class Reference

This constraint moves clones into clone groups of type II by comparing them. More...

#include "clang/Analysis/CloneDetection.h"

Public Member Functions

void constrain (std::vector< CloneDetector::CloneGroup > &Sequences)
 

Detailed Description

This constraint moves clones into clone groups of type II by comparing them.

Clones that aren't type II clones are moved into separate clone groups. In contrast to the RecursiveCloneTypeIIHashConstraint, all clones in a clone group are guaranteed to be be type II clones of each other, but it is too slow to efficiently handle large amounts of clones.

Definition at line 274 of file CloneDetection.h.

Member Function Documentation

◆ constrain()

void RecursiveCloneTypeIIVerifyConstraint::constrain ( std::vector< CloneDetector::CloneGroup > &  Sequences)

The documentation for this class was generated from the following files: