Skip to content

Commit

Permalink
use detail headers
Browse files Browse the repository at this point in the history
  • Loading branch information
cwaldren-ld committed Oct 28, 2024
1 parent 148357e commit 5881d05
Show file tree
Hide file tree
Showing 30 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions contract-tests/client-contract-tests/src/client_entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <launchdarkly/context_builder.hpp>
#include <launchdarkly/serialization/json_context.hpp>
#include <launchdarkly/serialization/json_evaluation_reason.hpp>
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>
#include <launchdarkly/value.hpp>

#include <chrono>
Expand Down
4 changes: 2 additions & 2 deletions contract-tests/server-contract-tests/src/client_entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <launchdarkly/context_builder.hpp>
#include <launchdarkly/serialization/json_context.hpp>
#include <launchdarkly/serialization/json_evaluation_reason.hpp>
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>
#include <launchdarkly/server_side/serialization/json_all_flags_state.hpp>
#include <launchdarkly/value.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <launchdarkly/encoding/base_64.hpp>
#include <launchdarkly/serialization/json_evaluation_result.hpp>
#include <launchdarkly/serialization/json_item_descriptor.hpp>
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>
#include <launchdarkly/serialization/value_mapping.hpp>

#include <boost/core/ignore_unused.hpp>
Expand Down
2 changes: 1 addition & 1 deletion libs/client-sdk/src/flag_manager/flag_persistence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <launchdarkly/serialization/json_evaluation_result.hpp>
#include <launchdarkly/serialization/json_item_descriptor.hpp>
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>

#include <utility>

Expand Down
2 changes: 1 addition & 1 deletion libs/common/src/bindings/c/value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <launchdarkly/detail/unreachable.hpp>
#include <launchdarkly/value.hpp>

#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>

#include <boost/json.hpp>

Expand Down
2 changes: 1 addition & 1 deletion libs/common/tests/value_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <gtest/gtest.h>

#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>

#include <boost/json.hpp>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <launchdarkly/context.hpp>
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>

#include <boost/json/fwd.hpp>
#include <tl/expected.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <launchdarkly/attribute_reference.hpp>
#include <launchdarkly/data_model/context_aware_reference.hpp>
#include <launchdarkly/serialization/json_context_kind.hpp>
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>
#include <launchdarkly/serialization/value_mapping.hpp>

#include <boost/json.hpp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <launchdarkly/data_model/context_kind.hpp>
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>

#include <boost/json.hpp>
#include <tl/expected.hpp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <launchdarkly/data/evaluation_reason.hpp>
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>

#include <boost/json/fwd.hpp>
#include <tl/expected.hpp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <launchdarkly/data/evaluation_result.hpp>
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>

#include <boost/json/fwd.hpp>
#include <tl/expected.hpp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <launchdarkly/data_model/flag.hpp>
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>

#include <boost/json/fwd.hpp>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include <launchdarkly/data_model/item_descriptor.hpp>
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>
#include <launchdarkly/serialization/value_mapping.hpp>

#include <boost/json.hpp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <launchdarkly/data_model/rule_clause.hpp>
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>

#include <boost/json/fwd.hpp>
#include <tl/expected.hpp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <launchdarkly/data_model/sdk_data_set.hpp>
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>

#include <boost/json/fwd.hpp>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <launchdarkly/data_model/segment.hpp>
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>

#include <boost/json/fwd.hpp>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>

#include <boost/core/ignore_unused.hpp>
#include <boost/json.hpp>
Expand Down
2 changes: 1 addition & 1 deletion libs/internal/src/serialization/events/json_events.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <launchdarkly/serialization/events/json_events.hpp>

Check notice on line 1 in libs/internal/src/serialization/events/json_events.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

Run clang-format on libs/internal/src/serialization/events/json_events.cpp

File libs/internal/src/serialization/events/json_events.cpp does not conform to Custom style guidelines. (lines 1)
#include <launchdarkly/serialization/json_evaluation_reason.hpp>
#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>

namespace launchdarkly::events {
void tag_invoke(boost::json::value_from_tag const& tag,
Expand Down
2 changes: 1 addition & 1 deletion libs/internal/src/serialization/json_attributes.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <launchdarkly/serialization/json_attributes.hpp>

Check notice on line 1 in libs/internal/src/serialization/json_attributes.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

Run clang-format on libs/internal/src/serialization/json_attributes.cpp

File libs/internal/src/serialization/json_attributes.cpp does not conform to Custom style guidelines. (lines 1)
#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>

#include <boost/core/ignore_unused.hpp>
#include <boost/json.hpp>
Expand Down
4 changes: 2 additions & 2 deletions libs/internal/src/serialization/json_context.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <launchdarkly/context_builder.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>
#include <launchdarkly/serialization/json_attributes.hpp>
#include <launchdarkly/serialization/json_context.hpp>
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/serialization/json_value.hpp>

#include <boost/core/ignore_unused.hpp>
#include <boost/json.hpp>
Expand Down
2 changes: 1 addition & 1 deletion libs/internal/src/serialization/json_evaluation_reason.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>
#include <launchdarkly/serialization/json_evaluation_reason.hpp>
#include <launchdarkly/serialization/value_mapping.hpp>

Expand Down
4 changes: 2 additions & 2 deletions libs/internal/src/serialization/json_evaluation_result.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <launchdarkly/serialization/json_errors.hpp>
#include <launchdarkly/detail/serialization/json_errors.hpp>

Check notice on line 1 in libs/internal/src/serialization/json_evaluation_result.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

Run clang-format on libs/internal/src/serialization/json_evaluation_result.cpp

File libs/internal/src/serialization/json_evaluation_result.cpp does not conform to Custom style guidelines. (lines 1, 135, 152)
#include <launchdarkly/serialization/json_evaluation_reason.hpp>
#include <launchdarkly/serialization/json_evaluation_result.hpp>
#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>
#include <launchdarkly/serialization/value_mapping.hpp>

#include <boost/core/ignore_unused.hpp>
Expand Down
2 changes: 1 addition & 1 deletion libs/internal/src/serialization/json_flag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <launchdarkly/serialization/json_context_aware_reference.hpp>
#include <launchdarkly/serialization/json_flag.hpp>
#include <launchdarkly/serialization/json_rule_clause.hpp>
#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>
#include <launchdarkly/serialization/value_mapping.hpp>

namespace launchdarkly {
Expand Down
2 changes: 1 addition & 1 deletion libs/internal/src/serialization/json_primitives.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>

namespace launchdarkly {
tl::expected<std::optional<bool>, JsonError> tag_invoke(
Expand Down
2 changes: 1 addition & 1 deletion libs/internal/src/serialization/json_rule_clause.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <boost/json.hpp>
#include <launchdarkly/serialization/json_context_aware_reference.hpp>
#include <launchdarkly/serialization/json_rule_clause.hpp>
#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>
#include <launchdarkly/serialization/value_mapping.hpp>

namespace launchdarkly {
Expand Down
2 changes: 1 addition & 1 deletion libs/internal/src/serialization/json_segment.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <boost/core/ignore_unused.hpp>
#include <boost/json.hpp>
#include <launchdarkly/serialization/json_context_aware_reference.hpp>
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>
#include <launchdarkly/serialization/json_rule_clause.hpp>
#include <launchdarkly/serialization/json_segment.hpp>
#include <launchdarkly/serialization/value_mapping.hpp>
Expand Down
2 changes: 1 addition & 1 deletion libs/internal/tests/data_model_serialization_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <boost/json/value_from.hpp>

#include <launchdarkly/serialization/json_flag.hpp>
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>
#include <launchdarkly/serialization/json_rule_clause.hpp>
#include <launchdarkly/serialization/json_sdk_data_set.hpp>
#include <launchdarkly/serialization/json_segment.hpp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <launchdarkly/serialization/json_evaluation_reason.hpp>
#include <launchdarkly/serialization/json_value.hpp>
#include <launchdarkly/detail/serialization/json_value.hpp>
#include <launchdarkly/server_side/serialization/json_all_flags_state.hpp>

#include <boost/core/ignore_unused.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <launchdarkly/network/http_error_messages.hpp>

#include <launchdarkly/serialization/json_flag.hpp>
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>
#include <launchdarkly/serialization/json_sdk_data_set.hpp>
#include <launchdarkly/server_side/data_source_status.hpp>

Expand Down
2 changes: 1 addition & 1 deletion libs/server-sdk/src/integrations/data_reader/kinds.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <launchdarkly/server_side/integrations/data_reader/kinds.hpp>

#include <launchdarkly/serialization/json_flag.hpp>
#include <launchdarkly/serialization/json_primitives.hpp>
#include <launchdarkly/detail/serialization/json_primitives.hpp>
#include <launchdarkly/serialization/json_segment.hpp>

#include <boost/json.hpp>
Expand Down

0 comments on commit 5881d05

Please sign in to comment.