[all-commits] [llvm/llvm-project] 25282b: [clang-format] Handle PointerAlignment in `if` and...

Marek Kurdej via All-commits all-commits at lists.llvm.org
Sun Feb 13 12:37:12 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25282bd6c4bf54a21c0f8dbf00db6e70922c02fa
  Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
  Date:   2022-02-13 (Sun, 13 Feb 2022)

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

  Log Message:
  [clang-format] Handle PointerAlignment in `if` and `switch` statements with initializers (C++17) the same way as in `for` loops.

Reviewed By: MyDeveloperDay, owenpan

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

More information about the All-commits mailing list