1. 13 May, 2024 2 commits
    • Add a `string_view` overload to `absl::StrJoin` · 73841853
      This allows users to pass a collection of string-like objects in an
      `initializer_list` without having to convert everything to the same
      type first.
      
      `initializer_list` has the requirement that everything is copied in to
      the list. For strings hitting the `string_view` overload avoids
      unnecessary copies.
      
      This may be a breaking change if `absl::StrJoin` has an explicit
      template parameter, for example `absl::StrJoin<std::string>({foo,
      "bar"});`. In this case, remove the explicit template parameter.
      
      PiperOrigin-RevId: 633295575
      Change-Id: Ie5f0860f409f639a27a58949842ec961e0b3bdeb
      Derek Mauro committed
    • Demangle Rust's Y<type><path> production for passably simple <type>s. · 692d9e56
      PiperOrigin-RevId: 633229582
      Change-Id: Ibda908d261b52b1af766304992edd77a5bdd56b5
      Chris Mihelich committed
  2. 10 May, 2024 1 commit
  3. 09 May, 2024 1 commit
  4. 08 May, 2024 3 commits
  5. 07 May, 2024 1 commit
  6. 06 May, 2024 3 commits
  7. 03 May, 2024 2 commits
  8. 02 May, 2024 3 commits
  9. 30 Apr, 2024 1 commit
  10. 26 Apr, 2024 1 commit
  11. 25 Apr, 2024 2 commits
  12. 24 Apr, 2024 5 commits
  13. 19 Apr, 2024 1 commit
  14. 18 Apr, 2024 7 commits
  15. 17 Apr, 2024 1 commit
  16. 15 Apr, 2024 1 commit
    • `log/internal/check_op`: Add ABSL_ATTRIBUTE_UNUSED to CHECK macros when STRIP_LOG is enabled · e304ff50
      When `STRIP_LOG` is off, the internal variable `absl_log_internal_check_op_result` is passed to `absl::log_internal::LogMessageFatal()` and used in the failure message.
      When `STRIP_LOG` is on, the variable is truly unused.
      
      Applying a `ABSL_ATTRIBUTE_UNUSED` on the variable triggers `-Wused-but-marked-unused` when `STRIP_LOG` is off, not applying the attribute triggers `-Wunused-but-set-variable` when `STRIP_LOG` is on.
      
      Define a new internal macro `ABSL_LOG_INTERNAL_ATTRIBUTE_UNUSED_IF_STRIP_LOG` that evaluates to `ABSL_ATTRIBUTE_UNUSED` when `STRIP_LOG` is on and nothing when `STRIP_LOG` is off to address both of these scenarios.
      
      PiperOrigin-RevId: 625049155
      Change-Id: Ia3f8a6ca916dd67a287bbda4b9bd6c574c92247a
      Dino Radakovic committed
  17. 12 Apr, 2024 1 commit
  18. 09 Apr, 2024 2 commits
  19. 05 Apr, 2024 1 commit
  20. 04 Apr, 2024 1 commit