diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-01-26 16:07:50 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:45:00 +0000 |
commit | c9afce52fe412e6f09917345b198a1f497571e8d (patch) | |
tree | c94791d2bad924cda69ff170001005497d2b761f /scripts/fix_code_formatting.sh | |
parent | f6402dd37092c842d1de9998b23640caf12f227b (diff) | |
download | ComputeLibrary-c9afce52fe412e6f09917345b198a1f497571e8d.tar.gz |
COMPMID-863: Remove some of the post-processing from the JSON backend
Refactored the console printer too (So that we can re-use the code if needed)
Change-Id: I16a0f70104f82f07cd59900b383038fa5a76e1bc
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/117858
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'scripts/fix_code_formatting.sh')
-rwxr-xr-x | scripts/fix_code_formatting.sh | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/scripts/fix_code_formatting.sh b/scripts/fix_code_formatting.sh deleted file mode 100755 index 021f92516f..0000000000 --- a/scripts/fix_code_formatting.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash -#FIXME: Remove this file before the release - -ASTYLE_PARAMETERS=" --style=ansi \ - --indent=spaces \ - --indent-switches \ - --indent-col1-comments \ - --min-conditional-indent=0 \ - --max-instatement-indent=120 \ - --pad-oper \ - --align-pointer=name \ - --align-reference=name \ - --break-closing-brackets \ - --keep-one-line-statements \ - --max-code-length=200 \ - --mode=c \ - --lineend=linux \ - --indent-preprocessor \ - " - -DIRECTORIES="./arm_compute ./src ./examples ./tests ./utils ./support" - -if [ $# -eq 0 ] -then - files=$(find $DIRECTORIES -type f \( -name \*.cpp -o -iname \*.h -o -name \*.inl -o -name \*.cl -o -name \*.cs \)) -else - files=$@ -fi -for f in $files -do - if [[ $f == *"/assembly/"* ]] - then - continue - fi - - sed -i 's/\t/ /g' $f - clang-format -i -style=file $f - astyle -n -q $ASTYLE_PARAMETERS $f -done |