From 03e3ba56fc04ebf7b9eadcd87160f4f75f42f565 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Tue, 5 Nov 2013 01:40:37 +0100 Subject: fixincludeguards.sh: add TODO note Change-Id: Ia19608118ae129c56846941508c4cca5c9020c8d --- bin/fixincludeguards.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit