mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-28 13:19:48 +01:00
[clang-tidy] Add parentheses to macro arguments
Found with bugprone-macro-parentheses Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Victor Zverovich
parent
0f0848e4f4
commit
e6e8298904
@@ -280,9 +280,9 @@ template <typename T>
|
||||
const char basic_data<T>::hex_digits[] = "0123456789abcdef";
|
||||
|
||||
#define FMT_POWERS_OF_10(factor) \
|
||||
factor * 10, factor * 100, factor * 1000, factor * 10000, factor * 100000, \
|
||||
factor * 1000000, factor * 10000000, factor * 100000000, \
|
||||
factor * 1000000000
|
||||
factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, (factor) * 100000, \
|
||||
(factor) * 1000000, (factor) * 10000000, (factor) * 100000000, \
|
||||
(factor) * 1000000000
|
||||
|
||||
template <typename T>
|
||||
const uint64_t basic_data<T>::powers_of_10_64[] = {
|
||||
|
||||
Reference in New Issue
Block a user