[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT

Ban GPR_ASSERT and GPR_DEBUG_ASSERT.
These macros are deprecated and should be replaced with absl CHECK and absl DCHECK, respectively.

PiperOrigin-RevId: 632024499
pull/36559/head^2
Tanvi Jagtap 7 months ago committed by Copybara-Service
parent 6b3a670cb0
commit a3aa81e179
  1. 4
      tools/run_tests/sanity/core_banned_functions.py

@ -82,8 +82,8 @@ BANNED_EXCEPT = {
"src/core/load_balancing/rls/rls.cc",
"src/core/resolver/google_c2p/google_c2p_resolver.cc",
],
# use 'grpc_core::Crash' instead
"GPR_ASSERT(false": [],
# use 'absl CHECK' instead
"GPR_ASSERT": [],
# Use `std::exchange()` instead.
"absl::exchange": [],
# Use `std::make_unique()` instead.

Loading…
Cancel
Save