Skip to content

Commit 7983740

Browse files
committed
Remove unintended files
1 parent a98958b commit 7983740

File tree

1,008 files changed

+16
-161869
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,008 files changed

+16
-161869
lines changed

.vscode/settings.json

Lines changed: 0 additions & 89 deletions
This file was deleted.

api/include/opentelemetry/nostd/detail/trait.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ enum class Trait
2121
};
2222

2323
template <typename T,
24-
template <typename> class IsTriviallyAvailable,
25-
template <typename> class IsAvailable>
24+
template <typename>
25+
class IsTriviallyAvailable,
26+
template <typename>
27+
class IsAvailable>
2628
inline constexpr Trait trait()
2729
{
2830
return IsTriviallyAvailable<T>::value ? Trait::TriviallyAvailable

api/include/opentelemetry/trace/tracer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class Tracer
6666
template <class T,
6767
class U,
6868
nostd::enable_if_t<common::detail::is_key_value_iterable<T>::value> * = nullptr,
69-
nostd::enable_if_t<detail::is_span_context_kv_iterable<U>::value> * = nullptr>
69+
nostd::enable_if_t<detail::is_span_context_kv_iterable<U>::value> * = nullptr>
7070
nostd::shared_ptr<Span> StartSpan(nostd::string_view name,
7171
const T &attributes,
7272
const U &links,

api/test/nostd/shared_ptr_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ TEST(SharedPtrTest, PointerOperators)
132132
shared_ptr<int> ptr1{value};
133133

134134
EXPECT_EQ(&*ptr1, value);
135-
EXPECT_EQ(shared_ptr<B>{new B}->f(), 123);
135+
EXPECT_EQ(shared_ptr<B> { new B } -> f(), 123);
136136
}
137137

138138
TEST(SharedPtrTest, Swap)

api/test/nostd/span_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ TEST(SpanTest, ArrayConstruction)
9595
EXPECT_EQ(s4.data(), array2.data());
9696
EXPECT_EQ(s4.size(), array2.size());
9797

98-
EXPECT_FALSE((std::is_constructible<span<int, 2>, int (&)[3]>::value));
98+
EXPECT_FALSE((std::is_constructible<span<int, 2>, int(&)[3]>::value));
9999
}
100100

101101
TEST(SpanTest, ContainerConstruction)

api/test/nostd/unique_ptr_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ TEST(UniquePtrTest, PointerOperators)
117117
unique_ptr<int> ptr1{value};
118118

119119
EXPECT_EQ(&*ptr1, value);
120-
EXPECT_EQ(unique_ptr<B>{new B}->f(), 123);
120+
EXPECT_EQ(unique_ptr<B> { new B } -> f(), 123);
121121
}
122122

123123
TEST(UniquePtrTest, Reset)

bazel/extra_deps.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
# Load prometheus C++ dependencies.
55

6-
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
76
load("@com_github_jupp0r_prometheus_cpp//bazel:repositories.bzl", "prometheus_cpp_repositories")
7+
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
88
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
99

1010
def opentelemetry_extra_deps():

examples/grpc/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
load("@com_github_grpc_grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library")
5-
load("@rules_proto//proto:defs.bzl", "proto_library")
6-
74
package(default_visibility = ["//visibility:public"])
85

6+
load("@rules_proto//proto:defs.bzl", "proto_library")
7+
load("@com_github_grpc_grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library")
8+
99
proto_library(
1010
name = "messages_proto",
1111
srcs = ["protos/messages.proto"],

exporters/otlp/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Copyright The OpenTelemetry Authors
22
# SPDX-License-Identifier: Apache-2.0
33

4-
load("//bazel:otel_cc_benchmark.bzl", "otel_cc_benchmark")
5-
64
package(default_visibility = ["//visibility:public"])
75

6+
load("//bazel:otel_cc_benchmark.bzl", "otel_cc_benchmark")
7+
88
cc_library(
99
name = "otlp_recordable",
1010
srcs = [

ext/include/opentelemetry/ext/http/client/http_client.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,13 @@ class HttpClientSync
403403

404404
virtual Result Get(const nostd::string_view &url,
405405
const HttpSslOptions &ssl_options,
406-
const Headers & = {{}},
406+
const Headers & = {{}},
407407
const Compression &compression = Compression::kNone) noexcept = 0;
408408

409409
virtual Result Post(const nostd::string_view &url,
410410
const HttpSslOptions &ssl_options,
411411
const Body &body,
412-
const Headers & = {{"content-type", "application/json"}},
412+
const Headers & = {{"content-type", "application/json"}},
413413
const Compression &compression = Compression::kNone) noexcept = 0;
414414

415415
virtual ~HttpClientSync() = default;

0 commit comments

Comments
 (0)