summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorBernie Innocenti <codewiz@google.com>2019-01-16 15:25:18 +0900
committerBernie Innocenti <codewiz@google.com>2019-01-17 14:45:19 +0900
commit804e7d8c4f90acda6e40ebb401bc18b95f5d77b4 (patch)
tree940da020f3f7e216ee4bccab140688474b63f71b /trusty/coverage/coverage.cpp
parentccb06c7b2b5b3ec83724c48dcccbf9c28ca5e9e9 (diff)
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
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions