clang 19.0.0git
Public Member Functions | List of all members
clang::MinGroupSizeConstraint Class Reference

Ensures that all clone groups contain at least the given amount of clones. More...

#include "clang/Analysis/CloneDetection.h"

Public Member Functions

 MinGroupSizeConstraint (unsigned MinGroupSize=2)
 
void constrain (std::vector< CloneDetector::CloneGroup > &CloneGroups)
 

Detailed Description

Ensures that all clone groups contain at least the given amount of clones.

Definition at line 302 of file CloneDetection.h.

Constructor & Destructor Documentation

◆ MinGroupSizeConstraint()

clang::MinGroupSizeConstraint::MinGroupSizeConstraint ( unsigned  MinGroupSize = 2)
inline

Definition at line 306 of file CloneDetection.h.

Member Function Documentation

◆ constrain()

void clang::MinGroupSizeConstraint::constrain ( std::vector< CloneDetector::CloneGroup > &  CloneGroups)
inline

Definition at line 309 of file CloneDetection.h.

References clang::CloneConstraint::filterGroups().


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