Issue 124574
Summary Regression clang-formatting __declspec(uuid(...))
Labels clang-format
Assignees
Reporter nico
    Current HEAD (3322ba493ad7):

```
% out/gn/bin/clang-format declspec-uuid.cc 
template <>
struct __declspec(uuid(
 "3895C200-8F26-4F5A-B29D-2B5D72E68F99")) IAsyncOperation<IUnknown *>
    : IAsyncOperation_impl<IUnknown *> {};
```

Back at 10664813 (Oct 2023, a while ago):

```
% ~/src/chrome/src/buildtools/mac_arm64/format/clang-format declspec-uuid.cc
template <>
struct __declspec(uuid("3895C200-8F26-4F5A-B29D-2B5D72E68F99"))
IAsyncOperation<IUnknown *> : IAsyncOperation_impl<IUnknown *> {};
```

The old formatting is more correct.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to