You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the attached example (test.cpp.txt, renamed to .txt so it can be attached) using the attached .clang-format settings (clang-format.txt, also renamed to .txt and . prefix removed), the second line of the struct is formatted by clang-format (v 14.0.0) as if it was a pointer de-reference, and the space following the * is removed.
The expected behaviour is the space should be maintained, or added if it it is removed (if either the space before or after the * is removed on the previous line, it will be added back by clang-format)
The text was updated successfully, but these errors were encountered:
In the attached example (test.cpp.txt, renamed to .txt so it can be attached) using the attached .clang-format settings (clang-format.txt, also renamed to .txt and . prefix removed), the second line of the struct is formatted by clang-format (v 14.0.0) as if it was a pointer de-reference, and the space following the
*
is removed.So this...
Becomes:
The expected behaviour is the space should be maintained, or added if it it is removed (if either the space before or after the
*
is removed on the previous line, it will be added back by clang-format)The text was updated successfully, but these errors were encountered: