aboutsummaryrefslogtreecommitdiff
path: root/lldb
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-07-24 12:27:06 -0700
committerKazu Hirata <kazu@google.com>2022-07-24 12:27:06 -0700
commit559463e94ee38a48eed5c24fb4a1a4f379720fd2 (patch)
tree942c6cde171387c9b5a0a2302bb1ad9cd05eda4f /lldb
parentc661bd0886ed0bcebedbc2a0ce7896e576a676a6 (diff)
downloadllvm-559463e94ee38a48eed5c24fb4a1a4f379720fd2.zip
llvm-559463e94ee38a48eed5c24fb4a1a4f379720fd2.tar.gz
llvm-559463e94ee38a48eed5c24fb4a1a4f379720fd2.tar.bz2
[lldb] Use true instead of 0 (NFC)
Identified with modernize-use-bool-literals.
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Host/common/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index f35eb47..4a0f024 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -172,7 +172,7 @@ MonitorChildProcessThreadFunction(::pid_t pid,
::sigaction(SIGUSR1, &sigUsr1Action, nullptr);
#endif // __linux__
- while(1) {
+ while (true) {
log = GetLog(LLDBLog::Process);
LLDB_LOG(log, "::waitpid({0}, &status, 0)...", pid);