[libcxx-commits] [PATCH] D100703: [libc++] [CI] Fail if the headers contain cyclic dependencies
Thorsten via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Apr 17 12:14:33 PDT 2021
tschuett added a comment.
The C++ draft has some of these lints:
https://github.com/cplusplus/draft/blob/master/tools/check-source.sh#L25-L37
# Find non-ASCII (Unicode) characters in the source
LC_ALL=C grep -ne '[^ -~ ]' *.tex |
fail 'non-ASCII character' || failed=1
# Trailing whitespace in a line.
grep -ne '\s$' *.tex |
fail 'trailing whitespace' || failed=1
# Trailing empty lines
for f in *.tex; do
[ $(tail -c 2 $f | wc -l) -eq 1 ] ||
echo "$f" | fail 'trailing empty lines' || failed=1
done
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100703/new/
https://reviews.llvm.org/D100703
More information about the libcxx-commits
mailing list