Cleanup: format all of ./intern, use .clang-format to exclude paths

Directories in intern/ were selectively formatted based on
paths in `tools/utils_maintenance/clang_format_paths.py`.

This had the following problems:

- Editing files inside intern/ would auto-format on save with editors
  setup to auto-format as there was nothing to disable formatting.
- Some directories were missing (by accident it seems).

Resolve by formatting all of `./intern/` exclude except for
`./intern/itasc/` which includes ITASC & KDL versions we might
want to sync with upstream.
This commit is contained in:
Campbell Barton
2024-09-20 16:03:37 +10:00
parent 615cb46412
commit f43da6fc4c
7 changed files with 15 additions and 42 deletions

View File

@@ -56,26 +56,7 @@ def compute_paths(paths: List[str], use_default_paths: bool) -> List[str]:
# Optionally pass in files to operate on.
if use_default_paths:
paths = [
"intern/atomic",
"intern/audaspace",
"intern/clog",
"intern/cycles",
"intern/dualcon",
"intern/eigen",
"intern/ffmpeg",
"intern/ghost",
"intern/glew-mx",
"intern/guardedalloc",
"intern/iksolver",
"intern/libmv",
"intern/locale",
"intern/memutil",
"intern/mikktspace",
"intern/opencolorio",
"intern/opensubdiv",
"intern/openvdb",
"intern/rigidbody",
"intern/utfconv",
"intern",
"source",
"tests/gtests",
]