[PATCH] D140956: [clang-format] Add an option for breaking after C++11 attributes

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 10 01:17:47 PST 2023


krasimir added a comment.

It looks like this regressed the following example:

  % cat test.cc  # formatted with older clang-format
  aaaaaaaaaaaaaaaaaaaaaaaaa<bbbbbbbbbbb>
      &cccccccccccccccccccccccccccccccccccccc() {
    return 1;
  }
  % clang-format --version
  clang-format version 16.0.0 (https://github.com/llvm/llvm-project.git a28f0747c2f3728bd8a6f64f7c8ba80b4e0cda9f)
  % clang-format -style=google test.cc
  aaaaaaaaaaaaaaaaaaaaaaaaa<bbbbbbbbbbb> &
  cccccccccccccccccccccccccccccccccccccc() {
    return 1;
  }
  %

@owenpan, I'm planning to temporarily revert this until you have a chance to investigate.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140956/new/

https://reviews.llvm.org/D140956



More information about the cfe-commits mailing list