[all-commits] [llvm/llvm-project] 2fa0d3: [clang-tidy] Add newline style note to contributin...
Zeyi Xu via All-commits
all-commits at lists.llvm.org
Wed Jun 10 08:01:50 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2fa0d3197e8d5401abd8252ca7971b6dc7f9a545
https://github.com/llvm/llvm-project/commit/2fa0d3197e8d5401abd8252ca7971b6dc7f9a545
Author: Zeyi Xu <mitchell.xu2 at gmail.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M clang-tools-extra/docs/clang-tidy/Contributing.rst
Log Message:
-----------
[clang-tidy] Add newline style note to contributing guide. NFC. (#202999)
Recently I found around 10 checks that hardcode `\n` in their fix-its.
This is not ideal, the generated fix-it should probably preserve the
newline style of the file, rather than always inserting LF. Otherwise,
applying a fix-it may unexpectedly change part of a CRLF file to LF.
This commit documents this expectation in contributing guide.
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