1. 29 Aug, 2023 6 commits
  2. 28 Aug, 2023 1 commit
    • Implement ABSL_ATTRIBUTE_PURE_FUNCTION and ABSL_ATTRIBUTE_CONST_FUNCTION · 1d83ac71
      Pure functions have no effects except to return a value, and their
      return value depends only on the parameters and global
      variables. Functions of this kind can be subject to data flow analysis
      and might be eliminated. In practice, this means that repeated calls
      to the same function with the same arguments may be optimized away and
      only evaluated once.
      
      Const functions are similar to pure functions, but may not depend on
      global variables at all.
      
      It is an error not to use the result of a function with one of these
      attributes, since these functions have no other visible effects.
      
      Since some Abseil functions are tagged with these attributes, this is
      potentially a breaking change for code that doesn't use the result of
      these functions.
      
      For example, absl::Minutes() is tagged with
      ABSL_ATTRIBUTE_CONST_FUNCTION.  If, for example, the result of
      absl::Minutes(n) is unused, some compilers with issue a warning or
      error. If this is the case, it is likely that there is a typo in the
      code, or the call can be removed.
      PiperOrigin-RevId: 560803581
      Change-Id: Icd6f218be2cfb7226f8ab6b2d97cd960c0d3d72f
      Derek Mauro committed
  3. 25 Aug, 2023 1 commit
  4. 23 Aug, 2023 2 commits
  5. 21 Aug, 2023 2 commits
  6. 18 Aug, 2023 1 commit
    • Check CRC cordrep child nodes for nullptr. · 94b37802
      Some time ago the invariant for CRC cordreps was relaxed to allow for nullptr values on empty cords with an explicit empty CRC value. The CordzInfo analysis never checked for nullptr values causing cord sampling to crash if the sampling happened to include a (very unlikely) empty Cord value.
      
      PiperOrigin-RevId: 558202613
      Change-Id: Ib0e1eadd08047167e4df5d3035b36dca2c285a0d
      Martijn Vels committed
  7. 17 Aug, 2023 4 commits
  8. 16 Aug, 2023 3 commits
  9. 15 Aug, 2023 3 commits
  10. 14 Aug, 2023 3 commits
  11. 11 Aug, 2023 2 commits
  12. 10 Aug, 2023 4 commits
  13. 09 Aug, 2023 2 commits
  14. 08 Aug, 2023 6 commits