class MinGroupSizeConstraint
Declaration
class MinGroupSizeConstraint { /* full declaration omitted */ };
Description
Ensures that all clone groups contain at least the given amount of clones.
Declared at: clang/include/clang/Analysis/CloneDetection.h:302
Member Variables
- private unsigned int MinGroupSize
Method Overview
- public MinGroupSizeConstraint(unsigned int MinGroupSize = 2)
- public void constrain(std::vector<CloneDetector::CloneGroup> & CloneGroups)
Methods
¶MinGroupSizeConstraint(
unsigned int MinGroupSize = 2)
MinGroupSizeConstraint(
unsigned int MinGroupSize = 2)
Declared at: clang/include/clang/Analysis/CloneDetection.h:306
Parameters
- unsigned int MinGroupSize = 2
¶void constrain(
std::vector<CloneDetector::CloneGroup>&
CloneGroups)
void constrain(
std::vector<CloneDetector::CloneGroup>&
CloneGroups)
Declared at: clang/include/clang/Analysis/CloneDetection.h:309
Parameters
- std::vector<CloneDetector::CloneGroup>& CloneGroups