aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/preprocessor.h
diff options
context:
space:
mode:
authorCthulhu <cthulhu@yandex-team.ru>2022-02-10 16:47:44 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:44 +0300
commit6aced6c854653b75aab9808d5995be5fc4d9fa53 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/lwtrace/preprocessor.h
parentbcb3e9d0eb2a8188a6a9fe0907a8949ce4881a4e (diff)
downloadydb-6aced6c854653b75aab9808d5995be5fc4d9fa53.tar.gz
Restoring authorship annotation for Cthulhu <cthulhu@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/lwtrace/preprocessor.h')
-rw-r--r--library/cpp/lwtrace/preprocessor.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/lwtrace/preprocessor.h b/library/cpp/lwtrace/preprocessor.h
index c6da7cedd3f..40865467b29 100644
--- a/library/cpp/lwtrace/preprocessor.h
+++ b/library/cpp/lwtrace/preprocessor.h
@@ -34,7 +34,7 @@
// 2. FOREACH_PARAMTYPE(FOREACH_PARAMTYPE_MACRO, your_p1_value, your_p1_value)
// FOREACH_PARAMTYPE(FOREACH_PARAMTYPE_MACRO, your_p1_another_value, your_p1_another_value)
// 3. #undef FOREACH_PARAMTYPE_MACRO
-// Type order matters!
+// Type order matters!
#define FOREACH_PARAMTYPE(MACRO, ...) \
MACRO("i64", i64, I64, ##__VA_ARGS__) \
MACRO("ui64", ui64, Ui64, ##__VA_ARGS__) \
@@ -49,13 +49,13 @@
MACRO(NULL, TNil, Nil, ##__VA_ARGS__) \
/**/
-// Used for math statements
+// Used for math statements
#define FOR_MATH_PARAMTYPE(MACRO, ...) \
MACRO("i64", i64, I64, ##__VA_ARGS__) \
MACRO("ui64", ui64, Ui64, ##__VA_ARGS__) \
MACRO("check", NLWTrace::TCheck, Check, ##__VA_ARGS__) \
- /**/
-
+ /**/
+
// Use for code generation to handle parameter lists
// NOTE: this is the only place to change if more parameters needed
#define FOREACH_PARAMNUM(MACRO, ...) \
@@ -78,22 +78,22 @@
MACRO(16, ##__VA_ARGS__) \
/**/
-#define FOREACH_LEFT_TYPE(MACRO, ...) \
+#define FOREACH_LEFT_TYPE(MACRO, ...) \
MACRO(__VA_ARGS__, OT_VARIABLE) \
MACRO(__VA_ARGS__, OT_LITERAL) \
MACRO(__VA_ARGS__, OT_PARAMETER) \
- /**/
-
-#define FOREACH_RIGHT_TYPE(MACRO, ...) \
+ /**/
+
+#define FOREACH_RIGHT_TYPE(MACRO, ...) \
MACRO(__VA_ARGS__, OT_VARIABLE) \
MACRO(__VA_ARGS__, OT_LITERAL) \
MACRO(__VA_ARGS__, OT_PARAMETER) \
- /**/
-
-#define FOREACH_DESTINATION_TYPE(MACRO, ...) \
+ /**/
+
+#define FOREACH_DESTINATION_TYPE(MACRO, ...) \
MACRO(__VA_ARGS__, OT_VARIABLE) \
- /**/
-
+ /**/
+
// Auxilary macros
#define LWTRACE_EXPAND(x) x
#define LWTRACE_EAT(...)