class RecursiveCloneTypeIIVerifyConstraint

Declaration

class RecursiveCloneTypeIIVerifyConstraint { /* full declaration omitted */ };

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.

Declared at: clang/include/clang/Analysis/CloneDetection.h:265

Method Overview

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

Methods

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

Declared at: clang/include/clang/Analysis/CloneDetection.h:267

Parameters

std::vector<CloneDetector::CloneGroup>& Sequences