From: Nick Mathewson Date: Mon, 10 Feb 2020 17:55:00 +0000 (-0500) Subject: clang-format: remove StatementMacros usage X-Git-Tag: tor-0.4.5.0-alpha-dev~160^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b62cd85e2a862ecc964d24dfeb3d83ad8d652fe;p=thirdparty%2Ftor.git 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. --- diff --git a/.clang-format b/.clang-format index 31b76a0025..e688ce7df5 100644 --- a/.clang-format +++ b/.clang-format @@ -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)