Description
Consider the following sample
enum X {
two = 2
};
#define FN(N) \
void fn(void *addr) \
{ \
__builtin_memset(addr, 0, N * two); \
} \
FN(4)
And .clang-format containing just BasedOnStyle: LLVM
Then we get the output where clang-format made a 'pointer of type N' instead of multiplication:
#define FN(N) \
void fn(void *addr) { __builtin_memset(addr, 0, N *two); }