[clang-tools-extra] [clang-tidy] Preserve line endings in macro-to-enum fixes (PR #202054)

Alex Bradbury via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 7 21:45:59 PDT 2026


asb wrote:

> > Hi @zeyi2, your change is causing test failures on MacOS bots, can you take a look?
> 
> Hi, thanks for reporting this.
> 
> As far as I know, this is a known clang-tidy issue: https://discord.com/channels/636084430946959380/646409144768659466/1492809064596635768
> 
> I’ll revert this commit for now.

Thanks, I came to this PR after seeing failures across the RISC-V bots. I think `%check_clang_tidy` may be problematic for this test due to the line endings juggling. But by my understanding the key thing check_clang_tidy does for the issue some of us are seeing on the bots is to append `--` to the invocation so that clang-tidy won't search parent directories for a compilation database.

https://github.com/llvm/llvm-project/pull/202054


More information about the cfe-commits mailing list