-
Notifications
You must be signed in to change notification settings - Fork 285
Open

Description
While working on dotnet/corefx#30495, I realized that clang-format has transformed:
#define LIMIT_MAX(T) _Generic(((T)0), \
unsigned int: UINT_MAX, \
unsigned long: ULONG_MAX, \
unsigned long long: ULLONG_MAX)
into:
#define LIMIT_MAX(T) _Generic(((T)0), \
unsigned int \
: UINT_MAX, \
unsigned long \
: ULONG_MAX, \
unsigned long long \
: ULLONG_MAX)
and couldn't quite figure out which *colon* rule needs to be set to leave alone _Generic block: https://clang.llvm.org/docs/ClangFormatStyleOptions.html.
juliancoffee, jhunterkohler, buracchi and laoshaw
Metadata
Metadata
Assignees
Labels
No labels