[all-commits] [llvm/llvm-project] 374f1d: [clang-format] Fix handling of TextProto comments

Björn Schäpers via All-commits all-commits at lists.llvm.org
Wed Dec 23 13:12:55 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 374f1d81febf8143e8e633296a42c2311699c5b3
      https://github.com/llvm/llvm-project/commit/374f1d81febf8143e8e633296a42c2311699c5b3
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2020-12-23 (Wed, 23 Dec 2020)

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

  Log Message:
  -----------
  [clang-format] Fix handling of TextProto comments

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


  Commit: 47877c9079c27f19a954b660201ea47717c82fec
      https://github.com/llvm/llvm-project/commit/47877c9079c27f19a954b660201ea47717c82fec
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  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/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Add SpaceBeforeCaseColon option

With which you can add a space before the colon of a case or default
statement.

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


Compare: https://github.com/llvm/llvm-project/compare/f8079355c604...47877c9079c2


More information about the All-commits mailing list