[Bf-blender-cvs] [23b45426010] temp-clang-format: clang-format: skip files copied from other projects
Campbell Barton
noreply at git.blender.org
Fri Jan 11 00:39:43 CET 2019
Commit: 23b45426010989211eb8cd9a598ce82c9521ed86
Author: Campbell Barton
Date: Fri Jan 11 10:38:27 2019 +1100
Branches: temp-clang-format
https://developer.blender.org/rB23b45426010989211eb8cd9a598ce82c9521ed86
clang-format: skip files copied from other projects
===================================================================
M clang-format-paths.py
===================================================================
diff --git a/clang-format-paths.py b/clang-format-paths.py
index 2efffdbb6cc..bd9f7b8184e 100755
--- a/clang-format-paths.py
+++ b/clang-format-paths.py
@@ -50,6 +50,10 @@ ignore_files = {
"source/blender/blenlib/BLI_compiler_typecheck.h", # Over wraps args.
"source/blender/blenlib/BLI_utildefines_variadic.h", # Over wraps args.
"tests/gtests/blenlib/BLI_ressource_strings.h", # Large data file, not helpful to format.
+
+
+ "source/blender/blenlib/intern/sort.c", # Copied from FreeBSD, don't reformat.
+ "source/blender/blenlib/intern/fnmatch.c", # Copied from GNU libc, don't reformat.
}
if os.sep != "/":
ignore_files = set(f.replace("/", os.sep) for f in ignore_files)
More information about the Bf-blender-cvs
mailing list