]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
clang-format: remove StatementMacros usage
authorNick Mathewson <nickm@torproject.org>
Mon, 10 Feb 2020 17:55:00 +0000 (12:55 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 10 Feb 2020 17:55:00 +0000 (12:55 -0500)
This change lets us use clang-format-6.0, and is okay since we now
require semicolons after HT_PROTOTYPE/GENERATE.

.clang-format

index 31b76a002561c0a7cde57f6ddb519320d27a0563..e688ce7df57d63eb6770516ae9b38e092f92ddb8 100644 (file)
@@ -148,14 +148,6 @@ IncludeCategories:
 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)