formatting(dfr): add .hpp to the formatting script and format the relevant files.

This commit is contained in:
Antoniu Pop
2021-12-20 11:00:44 +00:00
committed by Antoniu Pop
parent 2cba686c66
commit 23d3dca3f2
4 changed files with 219 additions and 286 deletions

View File

@@ -2,7 +2,7 @@
set -o pipefail
find ./compiler/{include,lib,src} \( -iname "*.h" -o -iname "*.cpp" -o -iname "*.cc" \) | xargs clang-format -i -style='file'
find ./compiler/{include,lib,src} -iregex '^.*\.\(cpp\|cc\|h\|hpp\)$' | xargs clang-format -i -style='file'
if [ $? -ne 0 ]
then
exit 1