Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:09:26

0001 #!/bin/bash
0002 
0003 ec=0
0004 
0005 for file in $(find Core Examples Tests Plugins -name "*.hpp"); do
0006     res=$(grep -e "^[[:space:]]*#pragma once" $file)
0007     if [[ "$res" != "#pragma once" ]]; then
0008         ec=1
0009         echo "'#pragma once' missing in '$file'"
0010     fi
0011 done
0012 
0013 exit $ec