summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2017-03-01 08:30:06 -0800
committerMark Salyzyn <salyzyn@google.com>2017-03-01 08:48:04 -0800
commitde022a841f61b8aae1abadb46755867da5e4f2df (patch)
tree43efe5dad9ef1f849cab67581a0d27c3447b8337 /libutils/ProcessCallStack.cpp
parentb6cb9b0457bf4101f8872d88935b5a7ee6d6ea4a (diff)
liblogcat: replace NULL with nullptr
- Replace all NULL, macro defined to 0, with nullptr. nullptr is a keyword of type nullptr_t, with a value of (nullptr_t)0, a pointer type of sizeof(void*) that can not confusingly promote to an int. - Replace all boolean evaluations of values against 0, NULL, and nullptr with direct, ! or !! as appropriate. - Note that thread_stopped should be semaphore, defer that to a non-code-quality improvement patch. - Check for null context in android_logcat_destroy. - Run clang-format to realign format with setting. Test: compile and gTest logcat-unit-tests Bug: 35326290 Change-Id: Iaf729cd7899c6cece78431536ed325604f0e353f
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions