[all-commits] [llvm/llvm-project] ddffcd: [clang-tidy] Add a diagnostic callback to parseCon...

Nathan James via All-commits all-commits at lists.llvm.org
Wed Dec 16 16:25:21 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddffcdf0a6603747a6734dcf23dfe81476b5523c
      https://github.com/llvm/llvm-project/commit/ddffcdf0a6603747a6734dcf23dfe81476b5523c
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-12-17 (Thu, 17 Dec 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
    M clang-tools-extra/clang-tidy/ClangTidyOptions.h
    M clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
    M clang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp

  Log Message:
  -----------
  [clang-tidy] Add a diagnostic callback to parseConfiguration

Currently errors detected when parsing the YAML for .clang-tidy files are always printed to errs.
For clang-tidy binary workflows this usually isn't an issue, but using clang-tidy as a library for integrations may want to handle displaying those errors in their own specific way.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D92920




More information about the All-commits mailing list