otherwise lib/llvmopencl/.*\.h get reformatted with GNU style
Gbp-Pq: Name 1004-try-to-apply-the-LLVM-style-first.patch
SCRIPTPATH=$( realpath "$0" )
RELPATH=$(dirname "$SCRIPTPATH")
+$RELPATH/clang-format-diff.py -regex '(.*(\.hpp$|\.cc$))|(lib/llvmopencl/.*\.h)' -i -p1 -style LLVM <$PATCHY
$RELPATH/clang-format-diff.py -regex '.*(\.h$|\.c$|\.cl$)' -i -p1 -style GNU <$PATCHY
-$RELPATH/clang-format-diff.py -regex '(.*(\.hh$|\.cc$))|(lib/llvmopencl/.*\.h)' -i -p1 -style LLVM <$PATCHY
if [ -z "$(git diff)" ]; then
echo "No changes."