We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First reported in Chromium: https://crbug.com/1018187
Repro steps:
$ cat test_throw.cpp void foo(int x) { throw (long) x; } $ clang-format test_throw.cpp
Expected behavior: clang-format should not remove the space before throw and (long)
clang-format
throw
(long)
Actual behavior:
void foo(int x) { throw(long) x; }
It seems that clang-format is treating throw (long) as a function-style construct instead of a cast.
throw (long)
The text was updated successfully, but these errors were encountered:
@llvm/issue-subscribers-clang-format
Sorry, something went wrong.
Differential: https://reviews.llvm.org/D132762
c6e7752
rymiel
No branches or pull requests
First reported in Chromium: https://crbug.com/1018187
Repro steps:
Expected behavior:
clang-format
should not remove the space beforethrow
and(long)
Actual behavior:
It seems that
clang-format
is treatingthrow (long)
as a function-style construct instead of a cast.The text was updated successfully, but these errors were encountered: