clang 20.0.0git
|
Ensures that all clones reference variables in the same pattern. More...
#include "clang/Analysis/CloneDetection.h"
Public Member Functions | |
void | constrain (std::vector< CloneDetector::CloneGroup > &CloneGroups) |
Ensures that all clones reference variables in the same pattern.
Definition at line 432 of file CloneDetection.h.
void MatchingVariablePatternConstraint::constrain | ( | std::vector< CloneDetector::CloneGroup > & | CloneGroups | ) |
Definition at line 464 of file CloneDetection.cpp.
References clang::VariablePattern::countPatternDifferences(), and clang::CloneConstraint::splitCloneGroups().