diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fixincludeguards.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/fixincludeguards.sh b/bin/fixincludeguards.sh index 5a6347f4574e..907e4aa27c98 100755 --- a/bin/fixincludeguards.sh +++ b/bin/fixincludeguards.sh @@ -11,6 +11,12 @@ # a) fixincludeguards.sh header.hxx # b) find . -name *.hxx -or -name *.h | xargs sh fixincludeguards.sh +# TODO: This doesn't fix wrong #endif comments, like: +# #ifndef FOO_BAR_HXX +# #define FOO_BAR_HXX +# ... +# #endif // OTHER_BAR_HXX + guard_prefix="INCLUDED_" for fn in "$@"; do |