1. 25 Sep, 2020 1 commit
    • Export of internal Abseil changes · cad3f30b
      --
      1d4582ea8b9f38bef580d1998ebeb56adca7d3fb by Abseil Team <absl-team@google.com>:
      
      Used StorageT alias to unify getters of CompressedTuple
      
      PiperOrigin-RevId: 333572002
      
      --
      a630f1ef375a621dd89e6908cc6980ba81448331 by Derek Mauro <dmauro@google.com>:
      
      Silence -Wrange-loop-analysis warnings
      
      These warnings are likely incorrect for small POD objects, and clang
      fixed this with https://reviews.llvm.org/D72212, but Xcode 12 enabled
      this buggy warning by default. This fixes this problem for these users.
      
      As a reminder, [we still recommend passing string_view by value for
      function parameters](https://abseil.io/tips/1) as it generates less
      code.
      
      Fixes #787
      
      PiperOrigin-RevId: 333536667
      GitOrigin-RevId: 1d4582ea8b9f38bef580d1998ebeb56adca7d3fb
      Change-Id: Ib17aa296f48f3f0fda566460a302979f5adf4195
      Abseil Team committed
  2. 23 Sep, 2020 2 commits
    • Export of internal Abseil changes · 9927a098
      --
      bddfb8bae4e569884bf8749f5368e536562f0682 by Samuel Benzaquen <sbenza@google.com>:
      
      Forward the Status.
      
      PiperOrigin-RevId: 333159251
      
      --
      461640476dab1726eba8d26a0c8012b5a35ba0b1 by Evan Brown <ezb@google.com>:
      
      Avoid relying on mutable b-tree set iterators in merge(). Mutable set iterators is an API difference from std::set that we want to get rid of.
      
      Also remove a superfluous `public` member specification in btree_container.
      
      PiperOrigin-RevId: 333101335
      
      --
      96cf8ac6946840be17da445739c950fd237159f4 by Abseil Team <absl-team@google.com>:
      
      Explicitly mention that FormatDuration deviates from Go for the zero duration
      
      PiperOrigin-RevId: 333094962
      
      --
      83389040371436aab4e952211e98ffa98e24fd94 by Abseil Team <absl-team@google.com>:
      
      Internal change.
      
      PiperOrigin-RevId: 332862771
      GitOrigin-RevId: bddfb8bae4e569884bf8749f5368e536562f0682
      Change-Id: I4a47043ddbad6e700380614c75566c09d4943103
      Abseil Team committed
    • Added missing asserts for seq.index() < capacity_ and unified their usage based… · 7680a5f8
      Added missing asserts for seq.index() < capacity_ and unified their usage based on has_element(). (#781)
      
      * Added missing asserts for seq.index() < capacity_ and unified their usage based on its implemention in has_element().
      
      * Removed an accidentaly added assert.
      Tomas Trebicky committed
  3. 20 Sep, 2020 1 commit
    • Export of internal Abseil changes · d3614de6
      --
      1829e203300191671abd4b478ca189019e6f88b1 by Abseil Team <absl-team@google.com>:
      
      Don't return true from Demangle() when we didn't actually produce demangled output.
      
      PiperOrigin-RevId: 332544020
      
      --
      239b617bd8322cfda69d0dcdd3d78499ed61206d by Abseil Team <absl-team@google.com>:
      
      Minor documentation fix.
      
      PiperOrigin-RevId: 332517877
      
      --
      d566c156619bbdceaf6e84bd0d3aa575d5e790f8 by Gennadiy Rozental <rogeeff@google.com>:
      
      Added missing asserts for seq.index() < capacity_ and unified their usage based on has_element().
      
      Import of https://github.com/abseil/abseil-cpp/pull/781
      
      PiperOrigin-RevId: 332229369
      GitOrigin-RevId: 1829e203300191671abd4b478ca189019e6f88b1
      Change-Id: I5bb1f713497fef54a7abaf2020be91cb32e87b93
      Abseil Team committed
  4. 17 Sep, 2020 1 commit
    • Export of internal Abseil changes · 20feb1cd
      --
      9214ee309fa224a43eb1621bcf826ab9c86a4cd7 by Abseil Team <absl-team@google.com>:
      
      Don't keep constructing/destructing `random_device`.
      
      It causes an open/close pair on /dev/urandom.
      
      This is somewhat expensive on Emscripten, and unnecessary since it is not using
      the value anyway.
      
      PiperOrigin-RevId: 332055452
      
      --
      4931ab77995b946f3ffba8036e0a00927b0d47e6 by Abseil Team <absl-team@google.com>:
      
      TYPO: Stess->Stress
      
      PiperOrigin-RevId: 332010526
      
      --
      95ae1dde505f74dc7fd68447bf27718db223688e by Gennadiy Rozental <rogeeff@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 332010411
      GitOrigin-RevId: 9214ee309fa224a43eb1621bcf826ab9c86a4cd7
      Change-Id: I23c5d6aa5aa488370e1b48f37366d3d99448e7ec
      Abseil Team committed
  5. 16 Sep, 2020 1 commit
    • Export of internal Abseil changes · c1ae0a49
      --
      14d42e9d0b8aed0c0f00900cd6fd790908930de5 by Gennadiy Rozental <rogeeff@google.com>:
      
      Fix gcc ci build command for LTS
      
      PiperOrigin-RevId: 331543198
      
      --
      f1655ec91a4ad656dd1100cf2e134d08941278ca by Abseil Team <absl-team@google.com>:
      
      Consistently document size_type return value of all map/set types.
      
      PiperOrigin-RevId: 331528359
      GitOrigin-RevId: 14d42e9d0b8aed0c0f00900cd6fd790908930de5
      Change-Id: I33ebba4acb3e5918e4e112f03c81aba529dcd0b4
      Abseil Team committed
  6. 12 Sep, 2020 1 commit
    • Export of internal Abseil changes · 6af91b35
      --
      0e6d5abe305df4e943e0bc0256c67afc00956691 by Abseil Team <absl-team@google.com>:
      
      Ensure that Hashtablez does not pull in absl::Mutex dependency when turned off at compile time.
      
      PiperOrigin-RevId: 331142625
      GitOrigin-RevId: 0e6d5abe305df4e943e0bc0256c67afc00956691
      Change-Id: I984d6d3436e4825a7b20758c45b3142c0f3bb45a
      Abseil Team committed
  7. 10 Sep, 2020 1 commit
    • Export of internal Abseil changes · f2c9c663
      --
      cfb567ed02096320663d882d2c0c2fb7db7af1e4 by Derek Mauro <dmauro@google.com>:
      
      Upgrade to GCC 10.2.0, Bazel 3.5.0, and CMake 3.18.2
      
      PiperOrigin-RevId: 330847323
      
      --
      5dcb9ce14d92315163079366a91c43cbd5184ea4 by Evan Brown <ezb@google.com>:
      
      Optimize equal_range() by avoiding the call to upper_bound() when possible.
      
      We need to support heterogeneous comparators that have different behavior when comparing key_type to non-key_type. See the new test.
      
      Also update the comment for `key_compare_to_adapter`.
      
      PiperOrigin-RevId: 330794444
      
      --
      744405dbda5513527d74094a5c3b9db1e0927693 by Gennadiy Rozental <rogeeff@google.com>:
      
      Introduce trampoline for friend access to avoid friending routines and classes from different namespace.
      
      PiperOrigin-RevId: 330773156
      
      --
      a195d1226576f8a7bb5671f3e42d1021b827fad9 by Abseil Team <absl-team@google.com>:
      
      Fix an incorrect version number test for std::variant availability in tvOs.
      
      PiperOrigin-RevId: 330759480
      
      --
      58b02eb9159a577953676d9928cb26b30068b847 by Derek Mauro <dmauro@google.com>:
      
      Use c++20 instead of c++2a now that it is supported by GCC
      
      PiperOrigin-RevId: 330559797
      GitOrigin-RevId: cfb567ed02096320663d882d2c0c2fb7db7af1e4
      Change-Id: I0e0d68409c95da42f5609920155ba5694ade8df0
      Abseil Team committed
  8. 08 Sep, 2020 1 commit
    • Export of internal Abseil changes · 3c8b5d75
      --
      306a7201c5d9fd2fa5bd4f50ea46a61e1f69925b by Abseil Team <absl-team@google.com>:
      
      Minor documentation cleanup.
      
      PiperOrigin-RevId: 330546393
      
      --
      f62a256057797d0a85715ed944760fa62e1ce7a1 by Abseil Team <absl-team@google.com>:
      
      Fix typo in comment abls:: -> absl::
      
      PiperOrigin-RevId: 330286163
      GitOrigin-RevId: 306a7201c5d9fd2fa5bd4f50ea46a61e1f69925b
      Change-Id: I9ac174396d1b0fcf9b3e0b8a2b00e088b3eb69cd
      Abseil Team committed
  9. 04 Sep, 2020 1 commit
    • Export of internal Abseil changes · 7ba8cdb5
      --
      8ae3cb636b81b6498ef30fbe59cc102a4098cad2 by Tom Manshreck <shreck@google.com>:
      
      Upgrade absl::StatusOr<T> docs to Abseil standards
      
      PiperOrigin-RevId: 329975341
      
      --
      7c7baf586c7380497a751f1a186a4ef0e650161a by Tom Manshreck <shreck@google.com>:
      
      Update absl::Status to Abseil documentation standards
      
      PiperOrigin-RevId: 329942967
      
      --
      6710d022ba987dbae7a5d83045a6697afeb972c4 by Derek Mauro <dmauro@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 329775111
      
      --
      fd182dc699e18522ef16d269731c57669c5487d2 by Abseil Team <absl-team@google.com>:
      
      Google-internal change.
      
      PiperOrigin-RevId: 329737362
      
      --
      c0df5e27ffb48d9c784e7019267580fcb4a3f92e by Xiaoyi Zhang <zhangxy@google.com>:
      
      Remove obsolete `static_assert`.
      
      PiperOrigin-RevId: 329727604
      GitOrigin-RevId: 8ae3cb636b81b6498ef30fbe59cc102a4098cad2
      Change-Id: Ic9dede0ab97f799e7f4093fae75ae0ec6cc21437
      Abseil Team committed
  10. 02 Sep, 2020 1 commit
    • Export of internal Abseil changes · 930fbec7
      --
      ea5599482a5120800f060c6d41334dbdbabc3941 by Mark Barolak <mbar@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 329715235
      
      --
      e897a582bed3aff509b98e5da0711b2afd15ed17 by Tom Manshreck <shreck@google.com>:
      
      * Update Status with overview
      * Move public API helper functions out of "Implementation Details"
      * Add documentation to Status Codes
      
      PiperOrigin-RevId: 329595541
      
      --
      f93b28596f24fa005606565e0a8a4dabe260b01c by Abseil Team <absl-team@google.com>:
      
      Fix -Wextra-semi issues.
      
      ABSL_COMPARE_INLINE_xxx_DECL may expand to nothing.
      That produces structs that have only semicolon inside class declaration.
      such struct is not a valid c++ code and fails to compile when -Wextra-semi is turned on.
      
      PiperOrigin-RevId: 329564534
      GitOrigin-RevId: ea5599482a5120800f060c6d41334dbdbabc3941
      Change-Id: Icc9944c3ec8303abc26a167c2ba7c91e59a4877f
      Abseil Team committed
  11. 01 Sep, 2020 1 commit
    • Export of internal Abseil changes · 0e9921b7
      --
      23500704dd7c2642fad49f88c07ce41ebaab12e4 by Abseil Team <absl-team@google.com>:
      
      Change fetch_add() to store(1 + load())
      
      As there is only one concurrent writer to the Info struct, we can avoid using
      the more expensive fetch_add() function.
      
      PiperOrigin-RevId: 329523785
      
      --
      79e5018dba2e117ad89b76367165a604b3f24045 by Abseil Team <absl-team@google.com>:
      
      Record rehash count in hashtablez
      
      This will help identify which containers could benefit from a reserve call.
      
      PiperOrigin-RevId: 329510552
      
      --
      e327e54b805d67556f934fa7f7dc2d4e72fa066a by Abseil Team <absl-team@google.com>:
      
      Fix -Wsign-compare issues.
      
      These lines could theoretically have overflowed in cases of very large stack
      traces etc. Very unlikely, but this was causing warnings when built with
      -Wsign-compare, which we intend to enable with Chromium.
      
      In none of these three cases is it trivial to switch to a range-based for loop.
      
      PiperOrigin-RevId: 329415195
      
      --
      08aca2fc75e8b3ad1201849987b64148fe48f283 by Xiaoyi Zhang <zhangxy@google.com>:
      
      Release absl::StatusOr.
      
      PiperOrigin-RevId: 329353348
      
      --
      bf4d2a7f8b089e2adf14d32b0e39de0a981005c3 by Xiaoyi Zhang <zhangxy@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 329337031
      
      --
      42fa7d2fb993bbfc344954227cf1eeb801eca065 by Abseil Team <absl-team@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 329099807
      GitOrigin-RevId: 23500704dd7c2642fad49f88c07ce41ebaab12e4
      Change-Id: I6713e4ca3bb0ab2ced5e487827ae036ab8ac61f1
      Abseil Team committed
  12. 28 Aug, 2020 1 commit
    • Export of internal Abseil changes · a4cbb5f6
      --
      cc712eea29157198dc2ad001a0b8717bf6621074 by Abseil Team <absl-team@google.com>:
      
      Quiet -Wsign-compare warning in AdvanceDigits().
      
      PiperOrigin-RevId: 328972215
      
      --
      0b7a7ccd7c5c201062ed9671a8b2f5cc53b76ded by Abseil Team <absl-team@google.com>:
      
      Quiet -Wsign-compare warning in ExtraWidthToPadding()
      
      PiperOrigin-RevId: 328882525
      
      --
      df828f8e78276897ad0f8aed8a94ac9882f719ee by Abseil Team <absl-team@google.com>:
      
      Quiet -Wsign-compare warning
      
      PiperOrigin-RevId: 328840508
      GitOrigin-RevId: cc712eea29157198dc2ad001a0b8717bf6621074
      Change-Id: Ie7caa022ee308d84c2f3b5ff7a9b3d02e0f30587
      Abseil Team committed
  13. 27 Aug, 2020 1 commit
    • Export of internal Abseil changes · 4d2ff381
      --
      ec39082e792ef7bb17e8432b6e10d1cb96dbad24 by Derek Mauro <dmauro@google.com>:
      
      Fix a sign-compare warning in btree.h
      
      Fixes #771
      
      PiperOrigin-RevId: 328653403
      GitOrigin-RevId: ec39082e792ef7bb17e8432b6e10d1cb96dbad24
      Change-Id: I6b681dcda4fd8933257b06d0428d40b1d01f6ad1
      Abseil Team committed
  14. 26 Aug, 2020 1 commit
    • Export of internal Abseil changes · c03c18e7
      --
      9c9eb300c95024ea4242bbb4835595f555cb1eed by Derek Mauro <dmauro@google.com>:
      
      Sync string_view comments from the internal copy
      
      PiperOrigin-RevId: 328582796
      
      --
      c0bc4e77a46889430a1a40d836a5ff426a4a5bc9 by Xiaoyi Zhang <zhangxy@google.com>:
      
      Make `absl::allocator_traits` an alias to `std::allocator_traits` for C++17 or
      above. `std::allocator_traits` should have all its members since C++17 so we
      don't need a backport.
      
      PiperOrigin-RevId: 328258154
      
      --
      5599a3c0f2d865128057b5e267a397011cd032d0 by Derek Mauro <dmauro@google.com>:
      
      Fix an #endif comment
      
      Reported at https://groups.google.com/g/abseil-io/c/GRUdB0bBrG8/m/852HrgchCQAJ
      
      PiperOrigin-RevId: 328247093
      
      --
      abd7e98088267f436e6c10779e574153ece015be by Abseil Team <absl-team@google.com>:
      
      Don't call win32 APIs for UWP builds
      
      symbolize.cc is including symbolize_win32.inc for all Windows builds,
      including UWP builds. However, UWP doesn't have access to win32 APIs, so
      it should instead include symbolize_unimplemented.inc.
      
      This allows the necessary functions to still exist and be called, but
      the win32 calls are not made.
      
      This is part of the effort to enable Abseil in ANGLE:
      https://anglebug.com/4873
      
      PiperOrigin-RevId: 328226766
      
      --
      f622d3dfb804a6f427c1fd86ee69f47785b49483 by Greg Falcon <gfalcon@google.com>:
      
      Remove incorrect claims of HASH_NAMESPACE support in Abseil hash.
      
      The documentation presently claims that absl::Hash will look for legacy hashers (e.g, in the __gnu_cxx namespace) as controlled by the HASH_NAMESPACE preprocessor define, but this has never been true.
      
      (Vestigial support for this appears in the form `ABSL_INTERNAL_LEGACY_HASH_NAMESPACE`, but this is not a supported extension point, as indicated by the use of `INTERNAL` in the name.)
      
      PiperOrigin-RevId: 328154123
      
      --
      32b40a25efe1f7f7da98ce8faf3482c825464ed4 by Abseil Team <absl-team@google.com>:
      
      Switch ABSL_INTERNAL_IGNORE_READS_ATTRIBUTE_ENABLED checks to defined().
      
      PiperOrigin-RevId: 328151556
      GitOrigin-RevId: 9c9eb300c95024ea4242bbb4835595f555cb1eed
      Change-Id: Ib0686286f7889a976311e8cd2b35655765a8d033
      Abseil Team committed
  15. 21 Aug, 2020 1 commit
    • Export of internal Abseil changes · b321ad86
      --
      c3565dd81a23f445f9f38d6ad209c3709957badb by Greg Falcon <gfalcon@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 327866702
      GitOrigin-RevId: c3565dd81a23f445f9f38d6ad209c3709957badb
      Change-Id: I34e68c7eab47c5234052f676b686cdaf3eb28352
      Abseil Team committed
  16. 20 Aug, 2020 1 commit
    • Export of internal Abseil changes · fbf0fdab
      --
      9f746b79e16d36dba908ed9e2a586d890fe54acc by Derek Mauro <dmauro@google.com>:
      
      Remove the Bazel mirror URL that we use in our WORKSPACE file
      
      This doesn't appear to be supported. We use --distdir caching in our tests.
      
      PiperOrigin-RevId: 327634738
      
      --
      e1f6f54830c415fc8bb8dc14483fae4cf9713d75 by Abseil Team <absl-team@google.com>:
      
      Removing comments following license() rules as they are rarely useful, redundant with LICENSE files, and tend to fall out of date.
      
      PiperOrigin-RevId: 327504063
      
      --
      b59c076638a57a74a3f8475f1dee8b536e32a15f by Gennadiy Rozental <rogeeff@google.com>:
      
      Change GetAllFlags API to return a collection of mutable flag handles.
      
      This will make this interface on par with FindCommandLineFlag and allow to call
      CommandLineFlag::ParseFrom on the handle returned by GetAllFlags.
      PiperOrigin-RevId: 327499084
      
      --
      bbf56b3c4a1d908d95e5a52aba38b1984151efff by Gennadiy Rozental <rogeeff@google.com>:
      
      Make raw_hash_set compile when AllocTraits::propagate_on_container_swap is false.
      
      PiperOrigin-RevId: 327371107
      
      --
      837f62c85ea65c1d6b847a75816198c625fe62ff by Abseil Team <absl-team@google.com>:
      
      On macOS, `mem_alloc` is defined like this:
      
      rpc/types.h:86:#define mem_alloc(bsize)	calloc(1, bsize)
      
      So if that file is included before container_memory.h, the variable mem_alloc
      may never get defined. This is fixed by using a different name.
      
      PiperOrigin-RevId: 327360224
      
      --
      aa8f5528382c0d01239ce75b645723aaf7e1ef46 by Gennadiy Rozental <rogeeff@google.com>:
      
      Release of absl::GetAllFlags API.
      
      PiperOrigin-RevId: 327275943
      GitOrigin-RevId: 9f746b79e16d36dba908ed9e2a586d890fe54acc
      Change-Id: I99c5c87dd1712bf8df9a52397b0c1e400a3c3447
      Abseil Team committed
  17. 18 Aug, 2020 1 commit
    • Export of internal Abseil changes · dc969f34
      --
      caf65de1a20b1ad286796a9eaee38f8b59e93f3b by Samuel Benzaquen <sbenza@google.com>:
      
      Add a benchmark for StrAppend.
      
      PiperOrigin-RevId: 327111569
      
      --
      2faa53fb3f4090f9609c7dea8951a82e1d72ce3a by Derek Mauro <dmauro@google.com>:
      
      Add the inline namespace to the code generated by
      gaussian_distribution_gentables
      
      A previous changed manually added it to the output
      
      PiperOrigin-RevId: 327022780
      
      --
      29edfd86e49e4d7665e843463f8df3c72467e909 by Derek Mauro <dmauro@google.com>:
      
      Re-write the logic for detecting which stacktrace implementation to use on Linux.
      
      The visible change is to detect the presence of the `<execinfo.h>`
      header, which allows using the `backtrace`-based implementation when
      it is available.
      
      The logic has been simplified as well.
      
      Fixes #746
      
      PiperOrigin-RevId: 326911875
      
      --
      ce198204b77aac240e98fc8d5931b17a8b26bac3 by Abseil Team <absl-team@google.com>:
      
      Demangle exception spec.
      
      PiperOrigin-RevId: 326909460
      
      --
      c41b89954545bdc4430d10e785d3ba64a55122d5 by Abseil Team <absl-team@google.com>:
      
      Add support for inheriting ctor.
      
      PiperOrigin-RevId: 326904919
      GitOrigin-RevId: caf65de1a20b1ad286796a9eaee38f8b59e93f3b
      Change-Id: Ifd28b6a85a032839cbeafd1b16f88046dfd6c1d4
      Abseil Team committed
  18. 14 Aug, 2020 2 commits
    • Export of internal Abseil changes · d0c43345
      --
      daabc2a08b55696424add36e8fd6ed0ab397dadc by Derek Mauro <dmauro@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 326713082
      GitOrigin-RevId: daabc2a08b55696424add36e8fd6ed0ab397dadc
      Change-Id: Ibe91394988bc3bcfaae7ac16bdc1e9b5dfd16588
      Abseil Team committed
    • Export of internal Abseil changes · c6b3f2cf
      --
      0c8282d75798c77733eee6167870bcc6acc0bfc1 by Evan Brown <ezb@google.com>:
      
      Provide mutable access to the key in node handles using std::launder when compiled with C++17 or later.
      
      Also, document why we can't provide mutable access to the key without C++17.
      
      Note: we use Policy::mutable_key() because btree already uses Policy::key() internally to get const key access, and we want to avoid calling std::launder unless we need mutable access to the key.
      PiperOrigin-RevId: 326519000
      
      --
      8018d0c3044400f0a731b0d2d00b606742c98818 by Xiaoyi Zhang <zhangxy@google.com>:
      
      Move `Status` internal symbols from the public header into an internal header file.
      
      PiperOrigin-RevId: 326471847
      
      --
      87a7644864ba7c003b0611898aaba1b71c840376 by Abseil Team <absl-team@google.com>:
      
      Avoid a costly divide (the division accounts for 10% of the time spent in the function).
      
      When the division is signed, the compiler has to generate a div. When it is unsigned, it can generate a shift: https://godbolt.org/z/vGfTv4. As per the test above the div, we know that the value is unsigned.
      
      PiperOrigin-RevId: 326453275
      GitOrigin-RevId: 0c8282d75798c77733eee6167870bcc6acc0bfc1
      Change-Id: I0a953558358055ab3dc6a533d8930698509b1195
      Abseil Team committed
  19. 13 Aug, 2020 1 commit
    • Export of internal Abseil changes · 1beb3191
      --
      240f86077dabaa58210e6b1a35cc442902409bf5 by Gennadiy Rozental <rogeeff@google.com>:
      
      Fix the link to the Allocator concept description.
      
      PiperOrigin-RevId: 326292363
      
      --
      d023337da5c7c23ec5f316c4e03efc4d8404ad63 by Gennadiy Rozental <rogeeff@google.com>:
      
      Add -DNOMINMAX to gcc/clang build command line in case they are used to build Abseil on Windows.
      
      Fixes #761
      
      PiperOrigin-RevId: 326255039
      GitOrigin-RevId: 240f86077dabaa58210e6b1a35cc442902409bf5
      Change-Id: If8a40a9b2be9c0c1e652347e2f22e2fff6bbeaa1
      Abseil Team committed
  20. 12 Aug, 2020 1 commit
    • Export of internal Abseil changes · 1b7e751e
      --
      feb01287934e6824d3a7be58a835e1d0254a353e by Derek Mauro <dmauro@google.com>:
      
      Add a general question template to our issue templates
      
      PiperOrigin-RevId: 326051081
      
      --
      cf3c0ab96f179e5396574b0a1dd655d6f48b031c by Derek Mauro <dmauro@google.com>:
      
      Add a bug report issue template
      
      PiperOrigin-RevId: 326026210
      
      --
      e67506083474736fee2a98c585383481b6bf6f2f by Xiaoyi Zhang <zhangxy@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 325885389
      
      --
      59c6ad5f6004e8c62ceb28611cbc88cd52b65a16 by Gennadiy Rozental <rogeeff@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 325836079
      GitOrigin-RevId: feb01287934e6824d3a7be58a835e1d0254a353e
      Change-Id: I303617dfb5f05aea0bec089c84e2b486f12882b2
      Abseil Team committed
  21. 07 Aug, 2020 2 commits
    • Export of internal Abseil changes · ce4bc927
      --
      30b56a21feab3443ba40cf97a3bfaa3d5b3bc964 by Derek Mauro <dmauro@google.com>:
      
      Fix conversion warnings on 32-bit MSVC
      
      Fixes #582
      
      PiperOrigin-RevId: 325509591
      GitOrigin-RevId: 30b56a21feab3443ba40cf97a3bfaa3d5b3bc964
      Change-Id: Icf1786a974eb88ca417cd428c0ce43e8ee8048e7
      Abseil Team committed
    • Export of internal Abseil changes · f72cc351
      --
      880e4ea366ff27f2b5b0c2f693f05424a1e47fbf by Derek Mauro <dmauro@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 325351285
      GitOrigin-RevId: 880e4ea366ff27f2b5b0c2f693f05424a1e47fbf
      Change-Id: I9003e713eff7315f4d38ca5c88efe6151bc26ac4
      Abseil Team committed
  22. 05 Aug, 2020 1 commit
    • Export of internal Abseil changes · f66bc749
      --
      c12db0cff0f0cb0c10731cdf4bf1663e99ecb82e by Samuel Benzaquen <sbenza@google.com>:
      
      Fix incompatibility of retired flags and AddressSanitizer.
      
      PiperOrigin-RevId: 325028944
      
      --
      20119dce82503c6ac22f3ec479d0eaea6acc7ba0 by Abseil Team <absl-team@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 324939694
      
      --
      bb1ab1a4e1a551469ad110bdfce3210aeb9bf4b8 by Abseil Team <absl-team@google.com>:
      
      Teach Abseil stack consumption utilities about AArch64.
      
      PiperOrigin-RevId: 324935395
      
      --
      987043ffc960f38457478b01c04b47dfaf7ae006 by Evan Brown <ezb@google.com>:
      
      Cleanup: simplify the slot transfer methods a bit.
      
      PiperOrigin-RevId: 324834817
      
      --
      ed7081130d3ab93a2c3c916e30fe4367d8e96954 by Abseil Team <absl-team@google.com>:
      
      Pass __FILE__ as const char* instead of as array of chars to internal_log_function
      
      to allow deterministic symbols for AtomicHook wrapper of the InternalLogFunction
      
      PiperOrigin-RevId: 324800499
      GitOrigin-RevId: c12db0cff0f0cb0c10731cdf4bf1663e99ecb82e
      Change-Id: Ibb92b1cab465e45abc86281f0fba894c82a662df
      Abseil Team committed
  23. 03 Aug, 2020 1 commit
    • Export of internal Abseil changes · 1995c6a3
      --
      790f9061df340cd900e8da70e66c363f7af3c2eb by Abseil Team <absl-team@google.com>:
      
      Add support for rvalue reference to function types.
      
      PiperOrigin-RevId: 324508531
      
      --
      51fe201dbb41a3ebc3d49ff65250b5f464279d43 by Abseil Team <absl-team@google.com>:
      
      Cleaning up function comment style; no substantive change.
      
      PiperOrigin-RevId: 324497401
      
      --
      da8595d5266577d0c170528d12f6de17b8affcc2 by Abseil Team <absl-team@google.com>:
      
      Add support for demangling GNU vector types.
      
      PiperOrigin-RevId: 324494559
      
      --
      0cb0acf88c1750f6963c9cb85249f9b4f0bd5104 by Abseil Team <absl-team@google.com>:
      
      Add support for thread-local types.
      
      PiperOrigin-RevId: 324491183
      
      --
      c676bc8380560599cd26f7f231e04e6be532e904 by Abseil Team <absl-team@google.com>:
      
      Add support for demangling "Du" (char8_t).
      
      PiperOrigin-RevId: 324441607
      
      --
      b218bf6467bc62b327214782c881e8224ad91509 by Abseil Team <absl-team@google.com>:
      
      Update doc comments in header of `any.h` to reflect that `absl::variant` has been released.
      
      PiperOrigin-RevId: 324431690
      
      --
      e5b579f3f1aa598c1f62e71dba7103b98811de59 by Laramie Leavitt <lar@google.com>:
      
      Bugfix: Fix bounds in absl::Uniform where one of the bounds is min/max.
      
      When absl::Uniform(rng, tag, a, b) is called, the tag is used in conjunction with the type to determine whether or not to manipulate the bounds to make them inclusive or exclusive through the uniform_*_bound functions. Unfortunately, at limits of the interval the function was not well behaved.
      
      The previous implementation used wrapping arithmetic. This causes incorrect bounds computation at the extremes (numeric_limits::min / numeric_limits::max) the bound would wrap.
      
      Improve this situation by:
      
      1/ Changing the uniform_*_bound functions to use saturating arithmetic instead of wrapping, thus in the unsigned case, the upper_bound of IntervalOpenOpen for 0 is now 0, rather than numeric_limits::max, likewise for the lower bound.
      
      2/ Adjusting the hi/lo checks in the distributions. When the interval is empty, such as for absl::Uniform(absl::IntervalOpenOpen, gen, 1, 0), the return value is somewhat nonsensical. Now absl::Uniform more consistently returns the low input rather than any adjusted input. In the above case, that means that 1 is returned rather than 2.
      
      NOTE: Calls to absl::Uniform where the resolved upper bound is < the lower bound  are still ill-formed and should be avoided.
      
      3/ Adding better tests.
      
      The underlying uniform_*_distribution classes are not affected.
      
      PiperOrigin-RevId: 324240873
      GitOrigin-RevId: 790f9061df340cd900e8da70e66c363f7af3c2eb
      Change-Id: I2a2208650ea3135c575e200b868ce1d275069fc8
      Abseil Team committed
  24. 31 Jul, 2020 1 commit
    • Export of internal Abseil changes · 184cf252
      --
      587e6db882749fa7faa12815e614afab04d218b9 by Derek Mauro <dmauro@google.com>:
      
      Use attribute detection for other sanitizer related attributes
      
      PiperOrigin-RevId: 324077073
      
      --
      3ee55e4935b4235516b1fcac3c55945e510f7afc by Evan Brown <ezb@google.com>:
      
      Simplify CordRepExternal allocation/deallocation.
      
      I think this can save some memory when `Releaser` is empty and when on platforms where alignof(CordRepExternal) < (default `::operator new` alignment).
      
      We no longer need the API requirement that alignof(Releaser) <= (default `::operator new` alignment).
      
      Also remove another static_assert from a TODO in cord_internal.h and fix some warnings about calling std::move on a forwarding reference.
      
      PiperOrigin-RevId: 324053720
      
      --
      9fc78436565eb3b204d4aa425ee3773354392f45 by Derek Mauro <dmauro@google.com>:
      
      Use auto-detected sanitizer attributes for ASAN, MSAN, and TSAN builds
      
      PiperOrigin-RevId: 323831461
      GitOrigin-RevId: 587e6db882749fa7faa12815e614afab04d218b9
      Change-Id: Ie0e4a2846d7f66988a2d81a5e50721b62fdb3d6d
      Abseil Team committed
  25. 29 Jul, 2020 1 commit
    • Export of internal Abseil changes · 82302f1e
      --
      41ac0d9b32618a1df717984afcb808858089bda7 by Derek Mauro <dmauro@google.com>:
      
      Removes usages of deprecated RunningOnValgrind
      
      PiperOrigin-RevId: 323649256
      
      --
      5453d131af475b434dcd86ab326e4a2cf780857f by Abseil Team <absl-team@google.com>:
      
      Internal change.
      
      PiperOrigin-RevId: 323630307
      GitOrigin-RevId: 41ac0d9b32618a1df717984afcb808858089bda7
      Change-Id: I523016e0ecdb8d141aa069ad2846f5e4abbe014c
      Abseil Team committed
  26. 28 Jul, 2020 1 commit
    • Export of internal Abseil changes · dea76486
      --
      e1d2e93a3328d9e4362c5510e81bd15ddd0dcf00 by Derek Mauro <dmauro@google.com>:
      
      ROLLBACK: Use auto-detected sanitizer attributes for ASAN, MSAN, and TSAN builds
      
      PiperOrigin-RevId: 323612219
      
      --
      6fe0914715bcb680ac1dc533aae3461e2ca1ad50 by Derek Mauro <dmauro@google.com>:
      
      Use auto-detected sanitizer attributes for ASAN, MSAN, and TSAN builds
      
      PiperOrigin-RevId: 323597765
      
      --
      9ad74e277348585f06a511aac31fff917a89a5d7 by Mark Barolak <mbar@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 323594550
      
      --
      9e77ccb5adf7e9867cfa254105930f8fed19699d by Evan Brown <ezb@google.com>:
      
      Remove an unnecessary nullptr check in Cord::PrependTree().
      
      We already check for nullptr at all callsites.
      
      PiperOrigin-RevId: 323583641
      
      --
      31ab2355c1b91e474b67ff88b8597ad99f346511 by Gennadiy Rozental <rogeeff@google.com>:
      
      Avoid memory allocations while registering retired flags.
      
      PiperOrigin-RevId: 323523011
      
      --
      33435e9b97b31763a80d3e41b5ab2459e862e99a by Jorg Brown <jorg@google.com>:
      
      Allow ABSL_PREDICT_FALSE to be used with a type that's explicitly convertible to bool.
      
      So far ABSL_PREDICT_TRUE could be used with these, but not ABSL_PREDICT_FALSE.
      
      PiperOrigin-RevId: 323514860
      GitOrigin-RevId: e1d2e93a3328d9e4362c5510e81bd15ddd0dcf00
      Change-Id: Iee5b030d9aec1ae2c0fe8997763cee7bd84b4090
      Abseil Team committed
  27. 27 Jul, 2020 1 commit
    • Export of internal Abseil changes · d39fe6cd
      --
      8726480d631a3736347f542dab5628d5e2ace3c1 by Mark Barolak <mbar@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 323414814
      
      --
      abc4a382a29fb857432e0e13a8c21ebe808f9828 by Abseil Team <absl-team@google.com>:
      
      Fix buffer overflow when the result of demangling doesn't fit.
      
      PiperOrigin-RevId: 323392968
      
      --
      7ed3e514519a971322d0a3333c7e85ed1f2a5f71 by Gennadiy Rozental <rogeeff@google.com>:
      
      Move ABSL_DEPRECATED and ABSL_FALLTHROUGH_INTENDED from base.h into attribute.h.
      
      PiperOrigin-RevId: 323137526
      
      --
      fc0afdb0792d565065d25feb9680972218355f90 by Xiaoyi Zhang <zhangxy@google.com>:
      
      Add documentation for `absl::StatusCode`.
      
      PiperOrigin-RevId: 323065623
      GitOrigin-RevId: 8726480d631a3736347f542dab5628d5e2ace3c1
      Change-Id: I9d39650e49ff265cd2dafee302013694e97c813f
      Abseil Team committed
  28. 24 Jul, 2020 1 commit
    • Export of internal Abseil changes · 2c8a5b0d
      --
      873b52b0a691e759413c5db27dafc541a5da5263 by Andy Getzendanner <durandal@google.com>:
      
      Introduce an internal-only thread-local caching wrapper around GetTID.
      
      PiperOrigin-RevId: 323055682
      
      --
      091a4537f1ef6e158acbf4261cfae1af7a3bdb7f by Abseil Team <absl-team@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 322864497
      
      --
      c80ccfff2a825819f31826a30f48cca3297699f8 by Evan Brown <ezb@google.com>:
      
      Roll forward b-tree changes simplifying deletion and getting rid of recursion in clear_and_delete().
      
      We also change clear_and_delete() to avoid some unnecessary comparisons by restructuring the loops.
      
      PiperOrigin-RevId: 322658938
      
      --
      81464c0fb9c8c6268dca2e530aba99e75e1e59ae by Gennadiy Rozental <rogeeff@google.com>:
      
      Eliminate definition of RunningOnValgrind inside the library.
      
      Fixes #674
      Fixes #657
      
      PiperOrigin-RevId: 322508440
      GitOrigin-RevId: 873b52b0a691e759413c5db27dafc541a5da5263
      Change-Id: I20b40c9e8fc62edcf981caab467cca33cf6fd2ba
      Abseil Team committed
  29. 21 Jul, 2020 1 commit
    • Export of internal Abseil changes · 41a6263f
      --
      dcd4d95f6201dc5781a3a374be8eb10c812fd98a by Derek Mauro <dmauro@google.com>:
      
      Add -Wundef to GCC warnings
      
      PiperOrigin-RevId: 322388155
      
      --
      b030746368262aff6bc487f5525bcd9b32d18ebb by Abseil Team <absl-team@google.com>:
      
      Google internal clean-up.
      
      PiperOrigin-RevId: 322381901
      
      --
      18e4cfcd50730c493cfc0cf1e127e57c186ce90b by Evan Brown <ezb@google.com>:
      
      Rollback b-tree erase simplification change.
      
      PiperOrigin-RevId: 322368252
      
      --
      d15431c52fa7ccb25ffbd967fd11f8f58246d48a by Abseil Team <absl-team@google.com>:
      
      Update MOCK_METHOD (new format) in memory/memory_test.cc
      
      PiperOrigin-RevId: 322208282
      GitOrigin-RevId: dcd4d95f6201dc5781a3a374be8eb10c812fd98a
      Change-Id: I3a900b4993f86bdd1c9597819c7a0e6e1759eda3
      Abseil Team committed
  30. 20 Jul, 2020 1 commit
    • Export of internal Abseil changes · 3c2bed2e
      --
      763b4755cc65db94fb1d6c09655f77deee685698 by Evan Brown <ezb@google.com>:
      
      Rollback change getting rid of recursion in clear_and_delete().
      
      PiperOrigin-RevId: 322156175
      
      --
      e430ae6970ae2e76357876449878033e3c72e734 by Greg Falcon <gfalcon@google.com>:
      
      fix build on P9
      
      Import of https://github.com/abseil/abseil-cpp/pull/739
      
      PiperOrigin-RevId: 321855200
      
      --
      3076c5bf811a950e7f7914023434d4aa9c0fbbb0 by Derek Mauro <dmauro@google.com>:
      
      Check for the existence of CMake policies before using them
      Fixes #742
      
      PiperOrigin-RevId: 321798698
      GitOrigin-RevId: 763b4755cc65db94fb1d6c09655f77deee685698
      Change-Id: I641e42f8bebe236b75f1bf1116a129c2ad9b2571
      Abseil Team committed
  31. 17 Jul, 2020 2 commits
    • fix build on P9 (#739) · ea8a689c
      jglaser committed
    • Export of internal Abseil changes · 672d9e0a
      --
      d2b7a83bafb90d35b2b7d8eb4177e9d712e8d62c by Gennadiy Rozental <rogeeff@google.com>:
      
      Introduce ABSL specific macros for detecting the usage of sanitizers.
      
      PiperOrigin-RevId: 321687443
      
      --
      a41342cc04b1088087dda12d7272aa3835f8e36a by Evan Brown <ezb@google.com>:
      
      Get rid of recursion in clear_and_delete().
      
      PiperOrigin-RevId: 321583786
      
      --
      99c6d300b17f186c28867b08cc79f1e55077e88a by Evan Brown <ezb@google.com>:
      
      Code simplification: consolidate methods to erase values/nodes.
      
      Motivation: this will make floating storage work simpler.
      
      - Delete erase_same_node/erase_from_leaf_node/remove_value/remove_values_ignore_children.
      - Move node deletion methods inside btree_node.
      - Delete three-argument move() and use transfer_n() instead.
      - Note: there's still one usage of move (in btree::erase(iterator)) that could use transfer, but I think doing so would add more complexity than it's worth.
      
      PiperOrigin-RevId: 321407673
      
      --
      c3efed6c1763190c6b3bccbede9b2989ab21b258 by Evan Brown <ezb@google.com>:
      
      Support heterogeneous insert_or_assign, try_emplace, operator[] for btree_map.
      
      Also do a bit of cleanup:
      - Add _impl methods for insert_or_assign/try_emplace.
      - Rename some hint iterator params from `position` to `hint`.
      
      PiperOrigin-RevId: 321399557
      GitOrigin-RevId: d2b7a83bafb90d35b2b7d8eb4177e9d712e8d62c
      Change-Id: Ie2d0c7c3ed197c2b53d475248941392cbad20e59
      Abseil Team committed
  32. 15 Jul, 2020 1 commit
    • Export of internal Abseil changes · f624790b
      --
      4fc38390e66394e51ef4637ca0778f929017b4c8 by Gennadiy Rozental <rogeeff@google.com>:
      
      Internal Change
      
      PiperOrigin-RevId: 321020681
      
      --
      880d1c1cb7590e7265e21afe32edde473ef830d4 by Derek Mauro <dmauro@google.com>:
      
      Decrease number of threads in thread_identity_test to hopefully
      prevent test timeouts
      
      PiperOrigin-RevId: 321019403
      GitOrigin-RevId: 4fc38390e66394e51ef4637ca0778f929017b4c8
      Change-Id: Id8175bae6e490277d663d76fff9c06353b8c7f05
      Abseil Team committed
  33. 13 Jul, 2020 1 commit
    • Export of internal Abseil changes · 55c04eb9
      --
      69b3ab092ee0fef3d27f589e709280c341f006c6 by Greg Falcon <gfalcon@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 321005878
      
      --
      3a4038cd0cea6455453a7ae82f2de7e91d7e2bc1 by Abseil Team <absl-team@google.com>:
      
      Google-internal changes only.
      
      PiperOrigin-RevId: 320994821
      
      --
      f9d9a93782924df6ffc351a271c239ca4bdff3c8 by Derek Mauro <dmauro@google.com>:
      
      Update Linux latest toolchains, most notably to GCC 10.1
      
      This create a new "hybrid" docker image that includes the latest
      versions of both GCC and LLVM. Since the LLVM build targets Debian 10,
      but Debian 10 uses an older version of libstdc++ that doesn't have
      full C++20 support, the easiest solution is to use the GCC/Debian 10
      base image from DockerHub and copy LLVM into it.
      
      This also includes fixes to get the build working with the
      new toolchains.
      
      PiperOrigin-RevId: 320991795
      
      --
      43129cd66dc4439b36d85030800a3929f20d9f86 by Abseil Team <absl-team@google.com>:
      
      Rollback import of CCTZ from GitHub (breaks MSAN tests)
      
        - e87b391f0d10ae9c3d2e70e4a3633337d2c5e643 handle "slim" TZif files in TimeZoneInfo::ExtendTransitio... by Bradley White <14679271+devbww@users.noreply.github.com>
      
      PiperOrigin-RevId: 320978767
      
      --
      2a343a55f297d433c1521920f0bd20ddd2dc71e8 by Derek Mauro <dmauro@google.com>:
      
      Use ABSL_HAVE_ATTRIBUTE in thread_annotations.h
      
      PiperOrigin-RevId: 320956378
      
      --
      f6f3e8333c9ef6e6441586be6587bbfb1c8c8127 by Gennadiy Rozental <rogeeff@google.com>:
      
      Import of CCTZ from GitHub.
      
      PiperOrigin-RevId: 320952592
      
      --
      3cc2bcce3533ac1233c0536232b07eea45fe8ed0 by Derek Mauro <dmauro@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 320862698
      
      --
      4e22066476744609e42c475b55e3cbd874f04c39 by Gennadiy Rozental <rogeeff@google.com>:
      
      Internal change
      
      PiperOrigin-RevId: 320461277
      GitOrigin-RevId: 69b3ab092ee0fef3d27f589e709280c341f006c6
      Change-Id: I36f547711e7078d52f2e0a1ff3f4c903056a2b9e
      Abseil Team committed
  34. 12 Jul, 2020 1 commit
  35. 10 Jul, 2020 1 commit
  36. 09 Jul, 2020 1 commit