[clang-format] AllowShortFunctionsOnASingleLine=Inline does not respect macros #133089
Labels
clang-format
question
A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
I stumbled upon #60627 which describes this same issue. Over there, the conclusion seems to be wont-fix because the intention of the related change (https://reviews.llvm.org/D117142) was to fix exactly the reported case.
However, I'd argue that a slight modification to the example is an unintended regression. If macros hide the "class" token, the scope is not correctly detected.
is formatted to:
The text was updated successfully, but these errors were encountered: