Skip to content

Commit 5ef1624

Browse files
authored
Merge pull request #2172 from hzeller/feature-20240504-make-clang-tidy-simpler
Simplify clang-tidy; read directly from .clang-tidy config file.
2 parents 4b98c20 + b7ccea6 commit 5ef1624

File tree

4 files changed

+277
-171
lines changed

4 files changed

+277
-171
lines changed

.github/bin/check-potential-problems.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ EXIT_CODE=0
2626
#
2727
# So, until these assumptions are fixed, we need to use absl::string_view that
2828
# comes with the same implementation everywhere.
29-
find . -name "*.h" -o -name "*.cc" | xargs grep -n "std::string_view"
29+
find common verilog -name "*.h" -o -name "*.cc" | \
30+
xargs grep -n "std::string_view"
3031
if [ $? -eq 0 ]; then
3132
echo "::error:: use absl::string_view instead of std::string_view"
3233
echo

0 commit comments

Comments
 (0)