Open
Description
#define TAG(...) struct a { \
};
clang-format once gives
#define TAG(...) \
struct a { \
\
\
};
clang-format second time gives
#define TAG(...) \
struct a { \
\
\
};
And its endless:
third time:
#define TAG(...) \
struct a { \
\
\ < this brake moves to right every time
};
clang-format --version
clang-format version 20.1.5
.clang-format file:
BasedOnStyle: Google
ColumnLimit : 110
AllowShortFunctionsOnASingleLine: false
AllowShortLambdasOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
SortIncludes: false
DerivePointerAlignment: false # disables 'Google' option which forces ignoring my rules
PointerAlignment: Left
ReferenceAlignment: Left
InsertNewlineAtEOF: true
IndentPPDirectives: BeforeHash