android_system_core/liblog/include
Bernie Innocenti 804e7d8c4f Fix clang-tidy warnings in log_time.h
- Zero initialize log_time instances by default
 - Disable implicit conversions by making constructors explicit
 - Explicitly initialize to EPOCH in most places
 - Change sniffTime() to avoid in-place modification of a log_time

I stopped here, but we could consider following up with a more invasive
change to make log_time instances immutable and perhaps also remove the
default constructor to force explicit initialization to EPOCH.

Test: atest libbase_test netd_unit_test
Change-Id: I67e716ef74adaaf40ab2c6e2e0dddb8d309bc7ca
2019-01-17 14:45:19 +09:00
..
android Add missing <android/log.h> documentation. 2018-11-02 13:18:41 -07:00
log Fix clang-tidy warnings in log_time.h 2019-01-17 14:45:19 +09:00
private Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00