* [iwyu] uri

* fix
pull/29544/head^2
Craig Tiller 3 years ago committed by GitHub
parent 42b083322f
commit 4b5441382d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      BUILD
  2. 14
      src/core/lib/uri/uri_parser.cc
  3. 2
      tools/dockerfile/grpc_iwyu/iwyu.sh

@ -1842,6 +1842,7 @@ grpc_cc_library(
"src/core/lib/uri/uri_parser.h",
],
external_deps = [
"absl/status",
"absl/status:statusor",
"absl/strings",
"absl/strings:str_format",

@ -18,19 +18,27 @@
#include "src/core/lib/uri/uri_parser.h"
#include <string.h>
#include <ctype.h>
#include <stddef.h>
#include <algorithm>
#include <functional>
#include <map>
#include <string>
#include <utility>
#include "absl/status/status.h"
#include "absl/strings/ascii.h"
#include "absl/strings/escaping.h"
#include "absl/strings/match.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include "absl/strings/str_split.h"
#include "absl/strings/strip.h"
#include <grpc/support/log.h>
#include "src/core/lib/gpr/string.h"
namespace grpc_core {
namespace {

@ -30,7 +30,7 @@ cat compile_commands.json | sed "s,\"file\": \",\"file\": \"${IWYU_ROOT}/,g" > c
# figure out which files to include
cat compile_commands.json | jq -r '.[].file' \
| grep -E "^src/core/lib/promise/" \
| grep -E "^src/core/lib/(promise|uri)/" \
| grep -v -E "/upb-generated/|/upbdefs-generated/" \
| sort \
| tee iwyu_files.txt

Loading…
Cancel
Save