[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] clang-format: remove StatementMacros usage



commit 3b62cd85e2a862ecc964d24dfeb3d83ad8d652fe
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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)
 #



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits