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:
authorSybren A. Stüvel <sybren@blender.org>2020-09-04 12:26:26 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-09-04 12:26:26 +0300
commit371ddda4d0b3c2ef0c40f604715db801dc33b669 (patch)
tree436685331cde6d6494b132c6665a3fca43d2e9e3 /.clang-tidy
parentaa4cf47e403ba3f098d89e991dafc9fec30423c4 (diff)
Cleanup: Clang-Tidy readability-redundant-preprocessor fixes
Remove redundantly nested `#if` and `#ifdef` statements. One nested `#if 0` block was left untouched, as it's in particle code that's no longer maintained. Furthermore, that block also has some explanation as to the differences between the enabled & disabled parts. One nested `#if 0` construct was completely removed, leaving only the actually used bit of code. There was no explanation as to the usefulness of the disabled code, and it hasn't been touched in years. No functional changes.
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy1
1 files changed, 0 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 3f24e7718e2..1260d80508f 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -13,7 +13,6 @@ Checks: >
-readability-misleading-indentation,
-readability-inconsistent-declaration-parameter-name,
- -readability-redundant-preprocessor,
-readability-redundant-member-init,
-readability-const-return-type,
-readability-static-accessed-through-instance,