[all-commits] [llvm/llvm-project] bcb1b7: [clang-format] Add option to separate comment alig...

Björn Schäpers via All-commits all-commits at lists.llvm.org
Fri Nov 7 07:12:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcb1b773f6412323c0dbe555c0ccd00b6cd1ae0e
      https://github.com/llvm/llvm-project/commit/bcb1b773f6412323c0dbe555c0ccd00b6cd1ae0e
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/WhitespaceManager.cpp
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTestComments.cpp

  Log Message:
  -----------
  [clang-format] Add option to separate comment alignment between ... (#165033)

normal lines and PP directives.

Handling PP directives differently can be desired, like in #161848.
Changing the default is not an option, there are tests for exactly the
current behaviour.



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