[all-commits] [llvm/llvm-project] 6f47b6: [clang-tidy] Preserve newline style in utility fix...

Zeyi Xu via All-commits all-commits at lists.llvm.org
Wed Jun 10 06:28:29 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f47b6de08a38ce89349231d970bcb9d999678a3
      https://github.com/llvm/llvm-project/commit/6f47b6de08a38ce89349231d970bcb9d999678a3
  Author: Zeyi Xu <mitchell.xu2 at gmail.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/HeaderGuard.cpp
    M clang-tools-extra/clang-tidy/utils/IncludeSorter.cpp

  Log Message:
  -----------
  [clang-tidy] Preserve newline style in utility fix-its. NFC. [1/N] (#202483)

This commit avoids introducing LF-only lines into files that use CRLF
when clang-tidy inserts new includes or adds missing header guards.

As of AI Usage: Assisted by Codex
Follow-up of #202271



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