Skip to content

Commit

Permalink
Reformat with clang-format-16.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Oct 4, 2023
1 parent c21dc20 commit ee30abc
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/png_ingestion/src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

#include <png.h>
// Note: on some macOS platforms with a brew-installed libpng, use this instead:
//#include <libpng16/png.h>
// #include <libpng16/png.h>

// Include the TileDB C++ API headers
#include <tiledb/tiledb>
Expand Down
4 changes: 2 additions & 2 deletions experimental/tiledb/common/dag/execution/test/unit_frugal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,9 @@ TEMPLATE_TEST_CASE(
* Some deduction guides
*/
namespace tiledb::common {
Task(node&)->Task<node>;
Task(node&) -> Task<node>;

Task(const node&)->Task<node>;
Task(const node&) -> Task<node>;

template <template <class> class M, class T>
Task(producer_node<M, T>) -> Task<node>;
Expand Down
4 changes: 2 additions & 2 deletions experimental/tiledb/common/dag/execution/test/unit_tasks.cc
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,9 @@ TEMPLATE_TEST_CASE(
* Some deduction guides
*/
namespace tiledb::common {
Task(node&)->Task<node>;
Task(node&) -> Task<node>;

Task(const node&)->Task<node>;
Task(const node&) -> Task<node>;

template <template <class> class M, class T>
Task(producer_node<M, T>) -> Task<node>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ class function_node_impl : public node_base,
BlockOut out_thing{};

public:
//#pragma clang diagnostic push
//#pragma ide diagnostic ignored "UnreachableCode"
// #pragma clang diagnostic push
// #pragma ide diagnostic ignored "UnreachableCode"
/**
* Resume the node. This will call the function that produces items.
* Main entry point of the node.
Expand Down Expand Up @@ -335,7 +335,7 @@ auto post_state = sink_mover->state();
}
return scheduler_event_type::error;
}
//#pragma clang diagnostic pop
// #pragma clang diagnostic pop

/** Run the node until it is done. */
void run() override {
Expand Down
8 changes: 4 additions & 4 deletions test/src/unit-capi-query_2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1093,8 +1093,8 @@ TEST_CASE_METHOD(
CHECK(
size_off == (uint64_t)((2.0 / 3 + 2.0 / 6) * (2 * sizeof(uint64_t))));
CHECK(
size_val ==
(uint64_t)((2.0 / 3) * (3 * sizeof(int)) + (2.0 / 6) * (6 * sizeof(int))));
size_val == (uint64_t)((2.0 / 3) * (3 * sizeof(int)) +
(2.0 / 6) * (6 * sizeof(int))));
}

SECTION("-- Partial overlap, 2 ranges") {
Expand Down Expand Up @@ -1223,8 +1223,8 @@ TEST_CASE_METHOD(
CHECK(
size_off == (uint64_t)((2.0 / 3 + 2.0 / 6) * (2 * sizeof(uint64_t))));
CHECK(
size_val ==
(uint64_t)((2.0 / 3) * (3 * sizeof(int)) + (2.0 / 6) * (6 * sizeof(int))));
size_val == (uint64_t)((2.0 / 3) * (3 * sizeof(int)) +
(2.0 / 6) * (6 * sizeof(int))));
}

SECTION("-- Partial overlap, 2 ranges") {
Expand Down
2 changes: 1 addition & 1 deletion tiledb/sm/filter/test/compile_all_filters_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int main() {

(void)sizeof(tiledb::sm::FilterCreate);
(void)static_cast<shared_ptr<Filter> (*)(
Deserializer & deserializer, const uint32_t version, Datatype datatype)>(
Deserializer& deserializer, const uint32_t version, Datatype datatype)>(
tiledb::sm::FilterCreate::deserialize);
return 0;
}
2 changes: 1 addition & 1 deletion tiledb/sm/stats/test/unit_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <test/support/tdb_catch.h>
#include <tiledb/common/common.h>
#include <tiledb/common/dynamic_memory/dynamic_memory.h>
//#include <tiledb/sm/cpp_api/tiledb>
// #include <tiledb/sm/cpp_api/tiledb>
#include <tiledb/sm/stats/global_stats.h>

#include <string>
Expand Down

0 comments on commit ee30abc

Please sign in to comment.