|
clang
5.0.0
|
#include "clang/AST/DeclTemplate.h"#include "clang/AST/StmtVisitor.h"#include "clang/Basic/SourceLocation.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/Support/Regex.h"#include <vector>Go to the source code of this file.
Classes | |
| class | clang::clone_detection::StmtDataCollector< T > |
| Collects the data of a single Stmt. More... | |
| class | clang::StmtSequence |
| Identifies a list of statements. More... | |
| class | clang::CloneDetector |
| Searches for similar subtrees in the AST. More... | |
| class | clang::CloneConstraint |
| This class is a utility class that contains utility functions for building custom constraints. More... | |
| class | clang::RecursiveCloneTypeIIConstraint |
| Searches all children of the given clones for type II clones (i.e. More... | |
| class | clang::MinComplexityConstraint |
| Ensures that every clone has at least the given complexity. More... | |
| class | clang::MinGroupSizeConstraint |
| Ensures that all clone groups contain at least the given amount of clones. More... | |
| struct | clang::OnlyLargestCloneConstraint |
| Ensures that no clone group fully contains another clone group. More... | |
| struct | clang::FilenamePatternConstraint |
| class | clang::VariablePattern |
| Analyzes the pattern of the referenced variables in a statement. More... | |
| struct | clang::VariablePattern::SuspiciousClonePair |
| Describes two clones that reference their variables in a different pattern which could indicate a programming error. More... | |
| struct | clang::VariablePattern::SuspiciousClonePair::SuspiciousCloneInfo |
| Utility class holding the relevant information about a single clone in this pair. More... | |
| struct | clang::MatchingVariablePatternConstraint |
| Ensures that all clones reference variables in the same pattern. More... | |
Namespaces | |
| clang | |
| /file This file defines classes for searching and anlyzing source code clones. | |
| clang::clone_detection | |
Macros | |
| #define | DEF_ADD_DATA(CLASS, CODE) |
Functions | |
| std::string | clang::clone_detection::getMacroStack (SourceLocation Loc, ASTContext &Context) |
| Returns a string that represents all macro expansions that expanded into the given SourceLocation. More... | |
| #define DEF_ADD_DATA | ( | CLASS, | |
| CODE | |||
| ) |
Definition at line 86 of file CloneDetection.h.
1.8.6