Skip to content

Commit 0fa3d64

Browse files
255CQ Bot Account
authored and
CQ Bot Account
committed
pw_json: Merge builder_impl.h header into builder.h
The builder_impl.h header was split out just to keep the builder.h header from being too large. The structure was confusing and caused issues for clang-tidy. Change-Id: Id9bdc8d51e4d155fab70af3ecf7f17b9aa41227a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/263333 Reviewed-by: Ted Pudlik <tpudlik@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com> Docs-Not-Needed: Wyatt Hepler <hepler@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
1 parent c650ea7 commit 0fa3d64

File tree

6 files changed

+497
-524
lines changed

6 files changed

+497
-524
lines changed

pw_json/BUILD.bazel

-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ cc_library(
2727
name = "builder",
2828
hdrs = [
2929
"public/pw_json/builder.h",
30-
"public/pw_json/internal/builder_impl.h",
3130
"public/pw_json/internal/nesting.h",
3231
],
3332
strip_include_prefix = "public",
34-
tags = ["noclangtidy"],
3533
deps = [
3634
"//pw_assert",
3735
"//pw_status",

pw_json/BUILD.gn

+1-4
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ pw_source_set("builder") {
3030
dir_pw_assert,
3131
dir_pw_status,
3232
]
33-
sources = [
34-
"public/pw_json/internal/builder_impl.h",
35-
"public/pw_json/internal/nesting.h",
36-
]
33+
sources = [ "public/pw_json/internal/nesting.h" ]
3734
}
3835

3936
pw_test("builder_test") {

pw_json/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ include($ENV{PW_ROOT}/pw_build/pigweed.cmake)
1717
pw_add_library(pw_json.builder INTERFACE
1818
HEADERS
1919
public/pw_json/builder.h
20-
public/pw_json/internal/builder_impl.h
2120
public/pw_json/internal/nesting.h
2221
PUBLIC_INCLUDES
2322
public

0 commit comments

Comments
 (0)