summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-12-06 13:12:04 +0200
committerTor Lillqvist <tml@collabora.com>2013-12-06 13:13:56 +0200
commit1637bcc408600df9a81d439d0d764f1447d3996a (patch)
tree735c7c28b1b3c7daad4f5fa07c7c302eacf4f437 /bin
parente7911236e3a3012ce2589080da1f3bcc10b5f2fa (diff)
Revert "The TODO seems to be DONE"
Actually I am not sure at all. This reverts commit 3b56738d88d881d023bdefda2222d99663f12b9f.
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