[all-commits] [llvm/llvm-project] 88e4e6: [clang-format] Use wider comment prefix space rule

ksyx via All-commits all-commits at lists.llvm.org
Thu Feb 3 13:49:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88e4e6be16ea400948c06f972f1b5f19478528df
      https://github.com/llvm/llvm-project/commit/88e4e6be16ea400948c06f972f1b5f19478528df
  Author: ksyx <18738953+ksyx at users.noreply.github.com>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M clang/lib/Format/BreakableToken.cpp
    M clang/unittests/Format/FormatTestComments.cpp

  Log Message:
  -----------
  [clang-format] Use wider comment prefix space rule

This commit changes the condition of requiring comment to start with
alphanumeric characters to make no change only for a certain set of
characters, currently horizontal whitespace and punctuation characters,
to support wider set of leading characters unrelated to documentation
generation directives.

Reviewed By: HazardyKnusperkeks
Differential Revision: https://reviews.llvm.org/D118869




More information about the All-commits mailing list