1. 08 May, 2024 2 commits
  2. 07 May, 2024 1 commit
  3. 06 May, 2024 3 commits
  4. 03 May, 2024 2 commits
  5. 02 May, 2024 3 commits
  6. 30 Apr, 2024 1 commit
  7. 26 Apr, 2024 1 commit
  8. 25 Apr, 2024 2 commits
  9. 24 Apr, 2024 5 commits
  10. 19 Apr, 2024 1 commit
  11. 18 Apr, 2024 7 commits
  12. 17 Apr, 2024 1 commit
  13. 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
  14. 12 Apr, 2024 1 commit
  15. 09 Apr, 2024 2 commits
  16. 05 Apr, 2024 1 commit
  17. 04 Apr, 2024 4 commits
  18. 03 Apr, 2024 1 commit
  19. 02 Apr, 2024 1 commit
    • Use _decimal_ literals for the CivilDay example. · 643c7bab
      Using `07` is a neat pun, but it not friendly to the reader. If the reader naively copies it and then changes the `7` to an `8` or a `9`, it will fail compilation: `invalid digit ... in octal constant`. Best avoided. Note that the other examples do not use octal literals.
      
      PiperOrigin-RevId: 621335289
      Change-Id: I6b11a639c5ba675eb29467baf45996ceff0ed9bf
      Devin Jeanpierre committed