[all-commits] [llvm/llvm-project] 5889ed: [clang-format] Don't insert braces for loops with ...

Owen via All-commits all-commits at lists.llvm.org
Mon Sep 12 00:38:14 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5889ed83a0ffa71f2cf010b73bbbf210f9690778
  Author: owenca <owenpiano at gmail.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  [clang-format] Don't insert braces for loops with a null statement

This is a workaround for #57539.

Fixes #57509.

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

More information about the All-commits mailing list