Originally reported on https://crbug.com/1462405
Style: Chromium
clang-format version:
```sh
~/src/depot_tools/clang-format --version
clang-format version 18.0.0 (https://chromium.googlesource.com/a/external/github.com/llvm/llvm-project 10664813fca8d5ccbfd90bae9e791b7062dabd7c
```
clang-format would wrap
```objc
RenderWidgetHostViewCocoa* __attribute__((objc_precise_lifetime)) keepSelfAlive = self;
```
as
```objc
RenderWidgetHostViewCocoa* __attribute__((objc_precise_lifetime))
keepSelfAlive = self;
```
without indenting the second line. This makes it look like the two lines are separate and that `keepSelfAlive` is being assigned.
Ideally, clang-format should return something like
```objc
RenderWidgetHostViewCocoa*
__attribute__((objc_precise_lifetime)) keepSelfAlive = self;
```
This reproduces for C++ files as well, not just Objective-C.
Originally reported on https://crbug.com/1462405
Style: Chromium
clang-format version:
clang-format would wrap
as
without indenting the second line. This makes it look like the two lines are separate and that
keepSelfAlive
is being assigned.Ideally, clang-format should return something like
This reproduces for C++ files as well, not just Objective-C.