Commit: 93972c8910081821d0c8361ba2a05c8af819b54d
Author: Campbell Barton
Date:   Thu Apr 1 11:11:09 2021 +1100
Branches: master
https://developer.blender.org/rB93972c8910081821d0c8361ba2a05c8af819b54d

Clang Format: bump the minimum version to 8

Make use of `StatementMacros` so Python structs are formatted correctly.

The comment about STRINGIFY doesn't seem to be valid anymore,
so this has been left out.

===================================================================

M       .clang-format

===================================================================

diff --git a/.clang-format b/.clang-format
index 9f3e37dea56..b61ce6018d3 100644
--- a/.clang-format
+++ b/.clang-format
@@ -2,7 +2,7 @@
 # Configuration of clang-format
 # =============================
 #
-# Tested to work with versions: 6 to 8.
+# Tested to work with versions: 8 to 11.
 
 # This causes parameters on continuations to align to the opening brace.
 #
@@ -263,8 +263,5 @@ ForEachMacros:
   - MAP_SLOT_PROBING_BEGIN
   - VECTOR_SET_SLOT_PROBING_BEGIN
 
-# Use once we bump the minimum version to version 8.
-# # Without this string literals that in-line 'STRINGIFY' behave strangely (a 
bug?).
-# StatementMacros:
-#   - PyObject_VAR_HEAD
-#   - STRINGIFY
+StatementMacros:
+  - PyObject_VAR_HEAD

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to