[all-commits] [llvm/llvm-project] 2f6b2d: [clang-format] Insert namespace comments with lead...

Owen via All-commits all-commits at lists.llvm.org
Mon Jul 24 09:23:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f6b2dafb78345b3013797096e8e71677710ce48
      https://github.com/llvm/llvm-project/commit/2f6b2dafb78345b3013797096e8e71677710ce48
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

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

  Log Message:
  -----------
  [clang-format] Insert namespace comments with leading spaces

Insert missing namespace comments with SpacesBeforeTrailingComments
leading spaces.

Fixes #64051.

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




More information about the All-commits mailing list