[Bf-blender-cvs] [afd13710b89] master: Cleanup: Clang-tidy readability-named-parameter
Ankit Meel
noreply at git.blender.org
Wed Oct 21 09:51:50 CEST 2020
Commit: afd13710b897cc1c11ba2811001bab8fe142d148
Author: Ankit Meel
Date: Wed Oct 21 13:21:00 2020 +0530
Branches: master
https://developer.blender.org/rBafd13710b897cc1c11ba2811001bab8fe142d148
Cleanup: Clang-tidy readability-named-parameter
No functional change.
===================================================================
M .clang-tidy
M source/blender/blenlib/intern/sort.c
===================================================================
diff --git a/.clang-tidy b/.clang-tidy
index a3aa8221ee0..9a1392407b9 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -18,7 +18,6 @@ Checks: >
-readability-redundant-member-init,
-readability-use-anyofallof,
- -readability-named-parameter,
-readability-function-cognitive-complexity,
bugprone-*,
diff --git a/source/blender/blenlib/intern/sort.c b/source/blender/blenlib/intern/sort.c
index 4ae87fff535..e65be760a2c 100644
--- a/source/blender/blenlib/intern/sort.c
+++ b/source/blender/blenlib/intern/sort.c
@@ -45,8 +45,8 @@
*
* \note modified to use glibc arg order for callbacks.
*/
-BLI_INLINE char *med3(char *, char *, char *, BLI_sort_cmp_t, void *);
-BLI_INLINE void swapfunc(char *, char *, int, int);
+BLI_INLINE char *med3(char */*a*/, char */*b*/, char */*c*/, BLI_sort_cmp_t /*cmp*/, void */*thunk*/);
+BLI_INLINE void swapfunc(char */*a*/, char */*b*/, int /*n*/, int /*swaptype*/);
#define min(a, b) (a) < (b) ? (a) : (b)
#define swapcode(TYPE, parmi, parmj, n) \
More information about the Bf-blender-cvs
mailing list