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
Running clang-format 18 twice produces different results when we have #define statements within an initializer. Running with clang-format 17.0.5 shows no difference on repeated invocations.
Running clang-format 18 twice produces different results when we have #define statements within an initializer. Running with clang-format 17.0.5 shows no difference on repeated invocations.
Given
idempotent_define.cpp
using
_clang-format
:clang-format 18.1.1 yields the following differences on successive runs. Notice that define flips between being on a single line and multiple lines.
The text was updated successfully, but these errors were encountered: