[all-commits] [llvm/llvm-project] 7cc09c: Reland "[clang-tidy] Preserve line endings in macr...
Zeyi Xu via All-commits
all-commits at lists.llvm.org
Mon Jun 8 18:52:21 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7cc09c43384b16a8d8bfca809dae14c2c200451a
https://github.com/llvm/llvm-project/commit/7cc09c43384b16a8d8bfca809dae14c2c200451a
Author: Zeyi Xu <mitchell.xu2 at gmail.com>
Date: 2026-06-09 (Tue, 09 Jun 2026)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/MacroToEnumCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/.gitattributes
A clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/macro-to-enum/crlf.cpp
A clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/macro-to-enum/crlf.cpp.expected
A clang-tools-extra/test/clang-tidy/checkers/modernize/macro-to-enum-crlf.cpp
Log Message:
-----------
Reland "[clang-tidy] Preserve line endings in macro-to-enum fixes" (#202271)
Use StringRef::detectEOL() when inserting enum braces so fix-its do not
mix LF into CRLF source files.
This reland fixes the previous buildbot failure by adding `--` in test
file.
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