Skip to content

Commit 6c7de16

Browse files
Abseil Teamshaindelschwartz
authored andcommitted
Project import generated by Copybara.
GitOrigin-RevId: d89dba2 Change-Id: I0eae80578a93a580820bc90d42e6b42faf7fde0a
1 parent e5be805 commit 6c7de16

File tree

217 files changed

+5284
-175
lines changed

Some content is hidden

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

217 files changed

+5284
-175
lines changed

LTS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Long Term Support (LTS) Branches
2+
3+
This repository contains periodic snapshots of the Abseil codebase that are
4+
Long Term Support (LTS) branches. An LTS branch allows you to use a known
5+
version of Abseil without interfering with other projects which may also, in
6+
turn, use Abseil. (For more information about our releases, see the
7+
[Abseil Release Management](https://abseil.io/about/releases) guide.)
8+
9+
## LTS Branches
10+
11+
The following lists LTS branches and the dates on which they have been released:
12+
13+
* [LTS Branch June 20, 2018](https://github.com/abseil/abseil-cpp/tree/lts_2018_06_20/)

WORKSPACE

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,35 @@
11
workspace(name = "com_google_absl")
22
# Bazel toolchains
33
http_archive(
4-
name = "bazel_toolchains",
5-
urls = [
6-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/f8847f64e6950e8ab9fde1c0aba768550b0d9ab2.tar.gz",
7-
"https://github.com/bazelbuild/bazel-toolchains/archive/f8847f64e6950e8ab9fde1c0aba768550b0d9ab2.tar.gz",
8-
],
9-
strip_prefix = "bazel-toolchains-f8847f64e6950e8ab9fde1c0aba768550b0d9ab2",
10-
sha256 = "794366f51fea224b3656a0b0f8f1518e739748646523a572fcd3d68614a0e670",
4+
name = "bazel_toolchains",
5+
urls = [
6+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/287b64e0a211fb7c23b74695f8d5f5205b61f4eb.tar.gz",
7+
"https://github.com/bazelbuild/bazel-toolchains/archive/287b64e0a211fb7c23b74695f8d5f5205b61f4eb.tar.gz",
8+
],
9+
strip_prefix = "bazel-toolchains-287b64e0a211fb7c23b74695f8d5f5205b61f4eb",
10+
sha256 = "aca8ac6afd7745027ee4a43032b51a725a61a75a30f02cc58681ee87e4dcdf4b",
1111
)
1212

1313
# GoogleTest/GoogleMock framework. Used by most unit-tests.
1414
http_archive(
1515
name = "com_google_googletest",
1616
urls = ["https://github.com/google/googletest/archive/4e4df226fc197c0dda6e37f5c8c3845ca1e73a49.zip"],
1717
strip_prefix = "googletest-4e4df226fc197c0dda6e37f5c8c3845ca1e73a49",
18+
sha256 = "d4179caf54410968d1fff0b869e7d74803dd30209ee6645ccf1ca65ab6cf5e5a",
1819
)
1920

2021
# Google benchmark.
2122
http_archive(
2223
name = "com_github_google_benchmark",
2324
urls = ["https://github.com/google/benchmark/archive/16703ff83c1ae6d53e5155df3bb3ab0bc96083be.zip"],
2425
strip_prefix = "benchmark-16703ff83c1ae6d53e5155df3bb3ab0bc96083be",
26+
sha256 = "59f918c8ccd4d74b6ac43484467b500f1d64b40cc1010daa055375b322a43ba3",
2527
)
2628

2729
# RE2 regular-expression framework. Used by some unit-tests.
2830
http_archive(
2931
name = "com_googlesource_code_re2",
3032
urls = ["https://github.com/google/re2/archive/6cf8ccd82dbaab2668e9b13596c68183c9ecd13f.zip"],
3133
strip_prefix = "re2-6cf8ccd82dbaab2668e9b13596c68183c9ecd13f",
34+
sha256 = "279a852219dbfc504501775596089d30e9c0b29664ce4128b0ac4c841471a16a",
3235
)

absl/algorithm/algorithm.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include <type_traits>
2828

2929
namespace absl {
30+
inline namespace lts_2018_06_20 {
3031

3132
namespace algorithm_internal {
3233

@@ -145,6 +146,7 @@ ForwardIterator rotate(ForwardIterator first, ForwardIterator middle,
145146
ForwardIterator>());
146147
}
147148

149+
} // inline namespace lts_2018_06_20
148150
} // namespace absl
149151

150152
#endif // ABSL_ALGORITHM_ALGORITHM_H_

absl/algorithm/container.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
#include "absl/meta/type_traits.h"
5555

5656
namespace absl {
57+
inline namespace lts_2018_06_20 {
5758

5859
namespace container_algorithm_internal {
5960

@@ -1637,6 +1638,7 @@ OutputIt c_partial_sum(const InputSequence& input, OutputIt output_first,
16371638
output_first, std::forward<BinaryOp>(op));
16381639
}
16391640

1641+
} // inline namespace lts_2018_06_20
16401642
} // namespace absl
16411643

16421644
#endif // ABSL_ALGORITHM_CONTAINER_H_

absl/base/BUILD.bazel

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,11 +371,6 @@ cc_test(
371371
size = "small",
372372
srcs = ["internal/sysinfo_test.cc"],
373373
copts = ABSL_TEST_COPTS,
374-
tags = [
375-
"no_test_android_arm",
376-
"no_test_android_arm64",
377-
"no_test_android_x86",
378-
],
379374
deps = [
380375
":base",
381376
"//absl/synchronization",

absl/base/bit_cast_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "absl/base/macros.h"
2323

2424
namespace absl {
25+
inline namespace lts_2018_06_20 {
2526
namespace {
2627

2728
template <int N>
@@ -104,4 +105,5 @@ TEST(BitCast, Double) {
104105
}
105106

106107
} // namespace
108+
} // inline namespace lts_2018_06_20
107109
} // namespace absl

absl/base/call_once.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
#include "absl/base/port.h"
4040

4141
namespace absl {
42+
inline namespace lts_2018_06_20 {
4243

4344
class once_flag;
4445

@@ -211,6 +212,7 @@ void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args) {
211212
}
212213
}
213214

215+
} // inline namespace lts_2018_06_20
214216
} // namespace absl
215217

216218
#endif // ABSL_BASE_CALL_ONCE_H_

absl/base/call_once_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "absl/synchronization/mutex.h"
2323

2424
namespace absl {
25+
inline namespace lts_2018_06_20 {
2526
namespace {
2627

2728
absl::once_flag once;
@@ -99,4 +100,5 @@ TEST(CallOnceTest, ExecutionCount) {
99100
}
100101

101102
} // namespace
103+
} // inline namespace lts_2018_06_20
102104
} // namespace absl

absl/base/casts.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#include "absl/base/internal/identity.h"
3131

3232
namespace absl {
33+
inline namespace lts_2018_06_20 {
3334

3435
// implicit_cast()
3536
//
@@ -135,6 +136,7 @@ inline Dest bit_cast(const Source& source) {
135136
return dest;
136137
}
137138

139+
} // inline namespace lts_2018_06_20
138140
} // namespace absl
139141

140142
#endif // ABSL_BASE_CASTS_H_

absl/base/inline_variable_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "gtest/gtest.h"
2121

2222
namespace absl {
23+
inline namespace lts_2018_06_20 {
2324
namespace inline_variable_testing_internal {
2425
namespace {
2526

@@ -59,4 +60,5 @@ TEST(InlineVariableTest, FunPtrType) {
5960

6061
} // namespace
6162
} // namespace inline_variable_testing_internal
63+
} // inline namespace lts_2018_06_20
6264
} // namespace absl

0 commit comments

Comments
 (0)