Skip to content

Commit 85364d0

Browse files
committed
don't check comments for it
1 parent fe7db3d commit 85364d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/scripts/grep_clangformat_cppcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ echo "check vi instead of vector<int>"
3333
grep "vector<int>" --recursive ../library/**/*.hpp && exit 1
3434

3535
echo "check no basic_string"
36-
grep "basic_string" --recursive ../library/**/*.hpp library_checker_aizu_tests/**/*.test.cpp && exit 1
36+
grep "[[:space:]]*//\!" --recursive --invert-match ../library/**/*.hpp library_checker_aizu_tests/**/*.test.cpp | grep "basic_string" && exit 1
3737

3838
echo "check begin(arr) instead of arr.begin(), similarly for end, rbegin, rend, empty, size:"
3939
# TODO: remove this define filter if/when we move to -std=c++20

0 commit comments

Comments
 (0)