[Bf-blender-cvs] [4bfcbb09f0d] temp-clang-format: clang-format: enable .osl and .glsl formatting.

Brecht Van Lommel noreply at git.blender.org
Mon Jan 7 19:39:51 CET 2019


Commit: 4bfcbb09f0dc47880d8bd9c72a25ae7b617b1f05
Author: Brecht Van Lommel
Date:   Mon Jan 7 19:38:21 2019 +0100
Branches: temp-clang-format
https://developer.blender.org/rB4bfcbb09f0dc47880d8bd9c72a25ae7b617b1f05

clang-format: enable .osl and .glsl formatting.

===================================================================

M	clang-format-edited.sh
M	clang-format-migration.sh

===================================================================

diff --git a/clang-format-edited.sh b/clang-format-edited.sh
index 59ef49172c5..7001088ff19 100755
--- a/clang-format-edited.sh
+++ b/clang-format-edited.sh
@@ -6,7 +6,7 @@ FILES=$(
 		intern/string/ \
 		source/ \
 		--name-only |
-		egrep \\.\(c\|cc\|cpp\|cxx\|h\|hh\|hpp\|hxx\|m\|mm\)$
+		egrep \\.\(c\|cc\|cpp\|cxx\|h\|hh\|hpp\|hxx\|m\|mm\|osl\|glsl\)$
 	 )
 
 if [ -z "$FILES" ]; then
diff --git a/clang-format-migration.sh b/clang-format-migration.sh
index ab81dbfb2ae..9675f759c23 100755
--- a/clang-format-migration.sh
+++ b/clang-format-migration.sh
@@ -6,7 +6,7 @@ FILES=$(
 		intern/string/ \
 		source/ \
 		--name-only |
-		egrep \\.\(c\|cc\|cpp\|cxx\|h\|hh\|hpp\|hxx\|m\|mm\)$
+		egrep \\.\(c\|cc\|cpp\|cxx\|h\|hh\|hpp\|hxx\|m\|mm\|osl\|glsl\)$
 	 )
 
 # First expand tabs



More information about the Bf-blender-cvs mailing list