platform_system_core/liblog/include/log
Chih-Hung Hsieh 9911e28043 Allow LOG_ALWAYS_FATAL_IF in constexpr functions
* When __FAKE_USE_VA_ARGS has args that are not constexpr,
  reaching it in a constexpr function will be make the
  constexpr function invalid.
  To allow LOG_ALWAYS_FATAL_IF in a constexpr functions when
  the tested condition is false, it should call __FAKE_USE_VA_ARGS
  only when the tested condition is true.
* Other ALOG*_IF macros are also changed to call
  __FAKE_USE_VA_ARGS only when the tested condition is true.

Bug: 148548418
Test: WITH_TIDY=1 make
Change-Id: Ie8a444dffbf9cbef78e5e0b49b44f4092bcf9982
2020-01-30 09:39:50 -08:00
..
event_tag_map.h liblog: remove unneeded checks and includes from headers 2019-10-14 16:11:12 -07:00
log.h liblog: remove unneeded checks and includes from headers 2019-10-14 16:11:12 -07:00
log_event_list.h liblog: remove unneeded checks and includes from headers 2019-10-14 16:11:12 -07:00
log_id.h liblog: fixup log_id_t 2019-10-18 09:58:08 -07:00
log_main.h Allow LOG_ALWAYS_FATAL_IF in constexpr functions 2020-01-30 09:39:50 -08:00
log_properties.h Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00
log_radio.h Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00
log_read.h Make android_logger_set_prune_list() sane 2019-12-06 11:23:58 -08:00
log_safetynet.h Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00
log_system.h Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00
log_time.h Merge "liblog: remove unneeded checks and includes from headers" 2019-10-16 13:51:42 +00:00
logprint.h liblog: remove unneeded checks and includes from headers 2019-10-14 16:11:12 -07:00