[all-commits] [llvm/llvm-project] eb35e0: [clang-format] don't break up #-style comment sect...

Krasimir Georgiev via All-commits all-commits at lists.llvm.org
Tue Mar 22 07:30:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb35e0ecbe0ae153481f1df16d91cc6001477d21
      https://github.com/llvm/llvm-project/commit/eb35e0ecbe0ae153481f1df16d91cc6001477d21
  Author: Krasimir Georgiev <krasimir at google.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

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

  Log Message:
  -----------
  [clang-format] don't break up #-style comment sections

Follow-up from https://github.com/llvm/llvm-project/commit/36d13d3f8adb3d1a6bae71370afa23d11a94dc78; https://reviews.llvm.org/D121451.

Restore the old behavior in situations where we use # as comments and long strings of #'s for comment sections.

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D122230




More information about the All-commits mailing list