[all-commits] [llvm/llvm-project] aff838: [clang-format][NFC] Remove unneeded braces

Björn Schäpers via All-commits all-commits at lists.llvm.org
Mon Nov 21 04:24:45 PST 2022


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

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp

  Log Message:
  -----------
  [clang-format][NFC] Remove unneeded braces

Done by clang-format itself.

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


  Commit: c89d2fd596cec8cf3a8100c504f045b9727fa98a
      https://github.com/llvm/llvm-project/commit/c89d2fd596cec8cf3a8100c504f045b9727fa98a
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2022-11-21 (Mon, 21 Nov 2022)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp

  Log Message:
  -----------
  [clang-format][NFC] Format lambda in conditional

This sort of amends cdbe296853b1b3fc6415236f05770360e23f0d39

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


  Commit: 9e00909b00f9e75b4f710bc60f13ceea1215746c
      https://github.com/llvm/llvm-project/commit/9e00909b00f9e75b4f710bc60f13ceea1215746c
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2022-11-21 (Mon, 21 Nov 2022)

  Changed paths:
    M clang/lib/Format/WhitespaceManager.cpp

  Log Message:
  -----------
  [clang-format][NFC] Don't add a load of 0es

Shift is 0 for all non comments, maybe even for comments. Don't add the
0 up to three times.

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


  Commit: 5ba5f7c46ccfe98fd68d6e31d25f386d67d484b4
      https://github.com/llvm/llvm-project/commit/5ba5f7c46ccfe98fd68d6e31d25f386d67d484b4
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2022-11-21 (Mon, 21 Nov 2022)

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

  Log Message:
  -----------
  [clang-format][NFC] Removed unused include


Compare: https://github.com/llvm/llvm-project/compare/3598c24983be...5ba5f7c46ccf


More information about the All-commits mailing list