summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-11-05 01:40:37 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-11-05 09:28:50 +0100
commit03e3ba56fc04ebf7b9eadcd87160f4f75f42f565 (patch)
tree47c1c64e3980e8e71399ebf4a6fc7d304127e8c8 /bin
parente52294558b84fd1877aee7b0ca145251a09c57cf (diff)
fixincludeguards.sh: add TODO note
Change-Id: Ia19608118ae129c56846941508c4cca5c9020c8d
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fixincludeguards.sh6
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