Merge pull request #14086 from ncteisen/more-clang-tidy

Clang Tidy Codebase Part1
pull/13660/head
Noah Eisen 7 years ago committed by GitHub
commit badfd41443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      test/cpp/qps/driver.cc
  2. 2
      tools/distrib/run_clang_tidy.py
  3. 2
      tools/dockerfile/grpc_clang_tidy/clang_tidy_all_the_things.sh

@ -33,7 +33,6 @@
#include "src/core/lib/gpr/env.h" #include "src/core/lib/gpr/env.h"
#include "src/core/lib/profiling/timers.h" #include "src/core/lib/profiling/timers.h"
#include "src/proto/grpc/testing/services.grpc.pb.h"
#include "test/core/util/port.h" #include "test/core/util/port.h"
#include "test/core/util/test_config.h" #include "test/core/util/test_config.h"
#include "test/cpp/qps/client.h" #include "test/cpp/qps/client.h"

@ -26,6 +26,8 @@ import jobset
GRPC_CHECKS = [ GRPC_CHECKS = [
'modernize-use-nullptr', 'modernize-use-nullptr',
'google-build-namespaces',
'google-build-explicit-make-pair',
] ]
extra_args = [ extra_args = [

@ -20,5 +20,5 @@ CLANG_TIDY=${CLANG_TIDY:-clang-tidy-5.0}
cd ${CLANG_TIDY_ROOT} cd ${CLANG_TIDY_ROOT}
find src/core src/cpp test/core test/cpp -name '*.h' -or -name '*.cc' -print0 \ find src/core src/cpp test/core test/cpp -name '*.h' -print0 -or -name '*.cc' -print0 \
| xargs -0 tools/distrib/run_clang_tidy.py "$@" | xargs -0 tools/distrib/run_clang_tidy.py "$@"

Loading…
Cancel
Save