First Commit
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled

This commit is contained in:
dsutanto committed 2025-11-19 16:23:45 +07:00
commit dbdc5bcc4a
1791 files changed
+489451

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
#! /bin/bash
#
# List "TODO" and "XXX" items in the given files, or throughout the source
# code.
set -e -u -o pipefail
# TODO: Make location-independent?
find_source() {
echo configure.ac
find . -name \*.cxx -o -name \*.hxx | sed -e 's|^\./||' | sort
for f in $(ls tools)
do
echo tools/$f
done
}
FILES=${*:-$(find_source)}
# Search for "$1:" in files $2.
# (This function adds the colon. That way, the search statement itself won't
# show up in the search.)
search_for() {
grep $1: $2
}
search_for XXX "$FILES" || true
search_for TODO "$FILES" || true