|
clang
5.0.0
|
Utility class holding the relevant information about a single clone in this pair. More...
#include "clang/Analysis/CloneDetection.h"
Public Member Functions | |
| SuspiciousCloneInfo (const VarDecl *Variable, const Stmt *Mention, const VarDecl *Suggestion) | |
| SuspiciousCloneInfo () | |
Public Attributes | |
| const VarDecl * | Variable |
| The variable which referencing in this clone was against the pattern. More... | |
| const Stmt * | Mention |
| Where the variable was referenced. More... | |
| const VarDecl * | Suggestion |
| The variable that should have been referenced to follow the pattern. More... | |
Utility class holding the relevant information about a single clone in this pair.
Definition at line 573 of file CloneDetection.h.
|
inline |
Definition at line 582 of file CloneDetection.h.
|
inline |
Definition at line 585 of file CloneDetection.h.
| const Stmt* clang::VariablePattern::SuspiciousClonePair::SuspiciousCloneInfo::Mention |
Where the variable was referenced.
Definition at line 577 of file CloneDetection.h.
| const VarDecl* clang::VariablePattern::SuspiciousClonePair::SuspiciousCloneInfo::Suggestion |
The variable that should have been referenced to follow the pattern.
If Suggestion is a nullptr then it's not possible to fix the pattern by referencing a different variable in this clone.
Definition at line 581 of file CloneDetection.h.
Referenced by clang::VariablePattern::countPatternDifferences().
| const VarDecl* clang::VariablePattern::SuspiciousClonePair::SuspiciousCloneInfo::Variable |
The variable which referencing in this clone was against the pattern.
Definition at line 575 of file CloneDetection.h.
1.8.6