Disallowed std::string_view

pull/37930/head
Esun Kim 4 months ago
parent 48265637c4
commit 88f56c12ba
  1. 2
      tools/run_tests/sanity/cpp_banned_constructs.sh

@ -24,7 +24,7 @@ cd "$(dirname "$0")/../../.."
# #
grep -EIrn \ grep -EIrn \
'std::(mutex|condition_variable|lock_guard|unique_lock|thread)' \ '\bstd::(mutex|condition_variable|lock_guard|unique_lock|thread|string_view)' \
include/grpc include/grpcpp src/core src/cpp | \ include/grpc include/grpcpp src/core src/cpp | \
grep -Ev 'include/grpcpp/impl/sync.h|src/core/util/work_serializer.cc' | \ grep -Ev 'include/grpcpp/impl/sync.h|src/core/util/work_serializer.cc' | \
diff - /dev/null diff - /dev/null

Loading…
Cancel
Save