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.
This commit is contained in:
Nick Mathewson 2020-02-10 12:55:00 -05:00
parent d9e211ab70
commit 3b62cd85e2

View File

@ -148,14 +148,6 @@ IncludeCategories:
MacroBlockBegin: "^STMT_BEGIN|TT_STMT_BEGIN$" MacroBlockBegin: "^STMT_BEGIN|TT_STMT_BEGIN$"
MacroBlockEnd: "^STMT_END|TT_STMT_END$" 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. # These macros are interpreted as types.
# (Not supported in my clang-format) # (Not supported in my clang-format)