[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
+2
-2
@@ -54,8 +54,8 @@
|
||||
#ifndef _WIN32
|
||||
# define FMT_RETRY_VAL(result, expression, error_result) \
|
||||
do { \
|
||||
result = (expression); \
|
||||
} while (result == error_result && errno == EINTR)
|
||||
(result) = (expression); \
|
||||
} while ((result) == (error_result) && errno == EINTR)
|
||||
#else
|
||||
# define FMT_RETRY_VAL(result, expression, error_result) result = (expression)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user