Format code with clang-format

This patch formats files not conforming to the C++ formatting with
`clang-format`.
This commit is contained in:
Benjamin Bannier 2021-11-05 09:02:40 +01:00
parent dafc9691c5
commit 4e16037acd

View file

@ -89,9 +89,9 @@ static VectorTypePtr base_vector_type__CPP(const VectorTypePtr& vt)
#define VEC_OP1_WITH_DOUBLE(name, op) \
VEC_OP1( \
name, op, case TYPE_INTERNAL_DOUBLE \
: \
{ \
VEC_OP1_KERNEL(AsDouble, DoubleVal, op) break; \
: { \
VEC_OP1_KERNEL(AsDouble, DoubleVal, op) \
break; \
})
// The unary operations supported for vectors.
@ -152,9 +152,9 @@ VEC_OP1(comp, ~, )
#define VEC_OP2_WITH_DOUBLE(name, op) \
VEC_OP2( \
name, op, case TYPE_INTERNAL_DOUBLE \
: \
{ \
VEC_OP2_KERNEL(AsDouble, DoubleVal, op) break; \
: { \
VEC_OP2_KERNEL(AsDouble, DoubleVal, op) \
break; \
})
// The binary operations supported for vectors.