35 std::vector<
Path> find_matching_paths(const std::
string& pattern) const;
36 const std::
string format_pattern(const std::
string& pattern) const;
37 Path choose_single_path(const std::vector<
Path>& candidates, const std::
string& pattern) const;
38 bool diff_functions(const
Path& first, const
Path& second) const;
39 static std::
string build_text_from_lines(const std::vector<std::
string>& lines);
const CliOption * options() const final
Generate a git-style diff between two duplicate functions.
bool validate(const ParsedOptions &options) override
Validate the arguments already analyzed.
static constexpr CliOption options_[]
bool run(const ParsedOptions &options) override
Executes the main logic of the command.
Represents a logical path to a function in the codebase.
Represents a similarity graph between functions (paths).
#define COMMAND_DESCRIPTION(str)
#define OPTION_END
This marks the end of a long array of options.
Logical path abstraction for source code elements.
Similarity relationships storage and analysis.