[all-commits] [llvm/llvm-project] 010bd7: [clang-tidy] Fix clang-tidy-diff with not producin...

Baranov Victor via All-commits all-commits at lists.llvm.org
Tue Aug 4 23:42:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 010bd79afba4bbabb6486ee75a590141a1cc1696
      https://github.com/llvm/llvm-project/commit/010bd79afba4bbabb6486ee75a590141a1cc1696
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
    A clang-tools-extra/test/clang-tidy/infrastructure/Inputs/clang-tidy-diff/test.cpp
    M clang-tools-extra/test/clang-tidy/infrastructure/clang-tidy-diff.cpp

  Log Message:
  -----------
  [clang-tidy] Fix clang-tidy-diff with not producing blank lines (#213873)

clang-tidy-diff.py unconditionally wrote `stdout + "\n"` for every file
it processed, even when clang-tidy produced no output so this bloated
output with needless blank line (happened with `-quiet` flag enabled
which made tidy produce 0 diagnostics).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list