[all-commits] [llvm/llvm-project] 5d12b1: [clang-tidy] Dump effective diagnostics level in Y...

Dmitry Polukhin via All-commits all-commits at lists.llvm.org
Wed Oct 12 02:04:42 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d12b13b0b26bc58b02ee23c369da8b83240cceb
  Author: Dmitry Polukhin <dmitry.polukhin at gmail.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/export-diagnostics.cpp

  Log Message:
  [clang-tidy] Dump effective diagnostics level in YAML output

Before this patch YAML output had default diagnostic level instead of effective level reported to the user on stdout. Wrapper scripts for clang-tidy usually use YAML output and they pick wrong diagnostics level without this patch.

Test Plan: check-clang-tools

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

More information about the All-commits mailing list