Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-04-04 05:25:03 +0300
committerCampbell Barton <campbell@blender.org>2022-04-04 05:35:33 +0300
commit27fea7a3a57e944a318dddd8f63736218576df01 (patch)
treef76d242fb4d8caa898be89b53dcad5354b224132 /.clang-format
parentf6a20fca5ed841c5276b35da87d02b3be9db6f85 (diff)
Cleanup: clang-format
Add ccl_gpu_kernel_postfix as a statement macro to prevent the following declarations from being indented.
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 44c8cb90b15..f7b785adaf2 100644
--- a/.clang-format
+++ b/.clang-format
@@ -269,6 +269,7 @@ ForEachMacros:
StatementMacros:
- PyObject_HEAD
- PyObject_VAR_HEAD
+ - ccl_gpu_kernel_postfix
MacroBlockBegin: "^BSDF_CLOSURE_CLASS_BEGIN$"
MacroBlockEnd: "^BSDF_CLOSURE_CLASS_END$"