Skip to content

Commit 01b471d

Browse files
Abseil Teamgennadiycivil
Abseil Team
authored andcommitted
Export of internal Abseil changes.
-- ffe1bf0e5f98c77cf4193f24ae9ce94d16a72c6e by Alex Strelnikov <strel@google.com>: Remove accidental duplication of conanfile.py. PiperOrigin-RevId: 226926125 -- daf639ddd32c57d1c5ab99b26a9b15107f47ce16 by Derek Mauro <dmauro@google.com>: Fix the CMake build for absl::container. This target is deprecated and will be removed in the future. Fixes abseil#238 PiperOrigin-RevId: 226921798 -- b8ab2bb9081c266ced1d966c86d5b19af6b5b3ef by Abseil Team <absl-team@google.com>: Cleanup: Fix some ClangTidy warnings. PiperOrigin-RevId: 226678127 -- 8cdc95316fc8baba00073c38a444c089ed2d5f5e by Abseil Team <absl-team@google.com>: Cleanup: Fix some ClangTidy warnings. PiperOrigin-RevId: 226567814 GitOrigin-RevId: ffe1bf0e5f98c77cf4193f24ae9ce94d16a72c6e Change-Id: Idfe30b8b3229082eb7db4bfa928d3257be7dce1a
1 parent 7bd8f36 commit 01b471d

File tree

6 files changed

+5
-95
lines changed

6 files changed

+5
-95
lines changed

CMake/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ Here's a non-exhaustive list of Abseil CMake public targets:
9595
```cmake
9696
absl::base
9797
absl::algorithm
98-
absl::container
9998
absl::debugging
99+
absl::flat_hash_map
100100
absl::memory
101101
absl::meta
102102
absl::numeric

absl/conanfile.py

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

absl/container/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
absl_cc_library(
2121
NAME
2222
container
23-
SRCS
24-
"internal/raw_hash_set.cc"
25-
COPTS
26-
${ABSL_DEFAULT_COPTS}
2723
PUBLIC
2824
)
2925

absl/strings/escaping.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -843,8 +843,8 @@ size_t Base64EscapeInternal(const unsigned char* src, size_t szsrc, char* dest,
843843

844844
// Three bytes of data encodes to four characters of cyphertext.
845845
// So we can pump through three-byte chunks atomically.
846-
if (szsrc >= 3) { // "limit_src - 3" is UB if szsrc < 3
847-
while (cur_src < limit_src - 3) { // as long as we have >= 32 bits
846+
if (szsrc >= 3) { // "limit_src - 3" is UB if szsrc < 3.
847+
while (cur_src < limit_src - 3) { // While we have >= 32 bits.
848848
uint32_t in = absl::big_endian::Load32(cur_src) >> 8;
849849

850850
cur_dest[0] = base64[in >> 18];

absl/strings/internal/str_format/bind.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ class ArgContext {
2525
explicit ArgContext(absl::Span<const FormatArgImpl> pack) : pack_(pack) {}
2626

2727
// Fill 'bound' with the results of applying the context's argument pack
28-
// to the specified 'props'. We synthesize a BoundConversion by
28+
// to the specified 'unbound'. We synthesize a BoundConversion by
2929
// lining up a UnboundConversion with a user argument. We also
3030
// resolve any '*' specifiers for width and precision, so after
3131
// this call, 'bound' has all the information it needs to be formatted.
3232
// Returns false on failure.
33-
bool Bind(const UnboundConversion *props, BoundConversion *bound);
33+
bool Bind(const UnboundConversion* unbound, BoundConversion* bound);
3434

3535
private:
3636
absl::Span<const FormatArgImpl> pack_;

absl/strings/strip_test.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727

2828
namespace {
2929

30-
using testing::ElementsAre;
31-
using testing::IsEmpty;
32-
3330
TEST(Strip, ConsumePrefixOneChar) {
3431
absl::string_view input("abc");
3532
EXPECT_TRUE(absl::ConsumePrefix(&input, "a"));

0 commit comments

Comments
 (0)