ClangTidyStats runClangTidy(const ClangTidyOptions &Options,
const tooling::CompilationDatabase &Compilations,
- ArrayRef<std::string> Ranges,
+ ArrayRef<std::string> InputFiles,
std::vector<ClangTidyError> *Errors) {
- // FIXME: Ranges are currently full files. Support selecting specific
- // (line-)ranges.
- ClangTool Tool(Compilations, Ranges);
+ ClangTool Tool(Compilations, InputFiles);
clang::tidy::ClangTidyContext Context(Options);
ClangTidyDiagnosticConsumer DiagConsumer(Context);
/// \brief Run a set of clang-tidy checks on a set of files.
ClangTidyStats runClangTidy(const ClangTidyOptions &Options,
const tooling::CompilationDatabase &Compilations,
- ArrayRef<std::string> Ranges,
+ ArrayRef<std::string> InputFiles,
std::vector<ClangTidyError> *Errors);
// FIXME: This interface will need to be significantly extended to be useful.