[tor-commits] [tor/master] clang-format: remove StatementMacros usage
nickm at torproject.org
nickm at torproject.org
Thu Mar 5 13:25:49 UTC 2020
commit 3b62cd85e2a862ecc964d24dfeb3d83ad8d652fe
Author: Nick Mathewson <nickm at torproject.org>
Date: Mon Feb 10 12:55:00 2020 -0500
clang-format: remove StatementMacros usage
This change lets us use clang-format-6.0, and is okay since we now
require semicolons after HT_PROTOTYPE/GENERATE.
---
.clang-format | 8 --------
1 file changed, 8 deletions(-)
diff --git a/.clang-format b/.clang-format
index 31b76a002..e688ce7df 100644
--- a/.clang-format
+++ b/.clang-format
@@ -149,14 +149,6 @@ MacroBlockBegin: "^STMT_BEGIN|TT_STMT_BEGIN$"
MacroBlockEnd: "^STMT_END|TT_STMT_END$"
#
-# These macros don't need to have semicolons afterwards.
-#
-StatementMacros:
- - HT_PROTOTYPE
- - HT_GENERATE
- - HT_GENERATE2
-
-#
# These macros are interpreted as types.
# (Not supported in my clang-format)
#
More information about the tor-commits
mailing list