[all-commits] [llvm/llvm-project] 3f0f20: run-clang-tidy: Fix infinite loop on windows

Jonas Toth via All-commits all-commits at lists.llvm.org
Sun Apr 24 08:17:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f0f20366622ee5fd35a1d65d7db5226f5e5751f
      https://github.com/llvm/llvm-project/commit/3f0f20366622ee5fd35a1d65d7db5226f5e5751f
  Author: Jonas Toth <development at jonas-toth.eu>
  Date:   2022-04-24 (Sun, 24 Apr 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/tool/run-clang-tidy.py

  Log Message:
  -----------
  run-clang-tidy: Fix infinite loop on windows

`find_compilation_database` checked only for "/" as exit point, but on Windows, this root is impossible.
Fixes #53642

Authored By: Febbe
Reviewed By: JonasToth
Differential Revision: https://reviews.llvm.org/D119481




More information about the All-commits mailing list