clang  6.0.0svn
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 311 of file CloneDetection.h.

Constructor & Destructor Documentation

◆ MinGroupSizeConstraint()

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

Definition at line 315 of file CloneDetection.h.

Member Function Documentation

◆ constrain()

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

Definition at line 318 of file CloneDetection.h.

References clang::CloneConstraint::filterGroups().


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