-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[clang-format] Possible regression clang-format-19? #93678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Version 19 is correct. See #86253. |
Thank you! |
@owenca, this has changed yet again, so which version is correct, 18 and 20 past 2024-08-25, or 19?
|
@llvm/issue-subscribers-bug Author: Pierre Jolivet (prj-)
Could you please let me know which one is correct?
```cpp
$ clang-format foo.cpp
struct func_traits_impl<Ret (C::*)(Args...) const> {};
$ clang-format-19 foo.cpp
struct func_traits_impl<Ret (C:: *)(Args...) const> {};
$ clang-format-19 --version
Debian clang-format version 19.0.0 (++20240527100630+434ee06d7761-1~exp1~20240527220812.2113)
```
|
See #86253 (comment) and the followup commit 714033a, which has been backported to the 19.x Release branch. So the soon-to-be released 19.1.0 and the trunk (20.0.0git) are deemed to be correct right now. |
Fixed by 714033a. |
OK, nice, no change in between 18, 19, and 20 then! |
Yes, 18 is also correct. |
Could you please let me know which one is correct?
The text was updated successfully, but these errors were encountered: