[all-commits] [llvm/llvm-project] 2a84a8: [lldb] Fix initialization of LazyBool/bool variabl...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Fri Apr 29 11:33:59 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a84a86184392a7e18a958f36db0b2b3da6ae2bd
https://github.com/llvm/llvm-project/commit/2a84a86184392a7e18a958f36db0b2b3da6ae2bd
Author: Martin Storsjö <martin at martin.st>
Date: 2022-04-29 (Fri, 29 Apr 2022)
Changed paths:
M lldb/source/Commands/CommandObjectCommands.cpp
Log Message:
-----------
[lldb] Fix initialization of LazyBool/bool variables m_overwrite/m_overwrite_lazy. NFCI.
This silences a GCC warning after
1f7b58f2a50461493f083b2ed807b25e036286f6 / D122680:
lldb/source/Commands/CommandObjectCommands.cpp:1650:22: warning: enum constant in boolean context [-Wint-in-bool-context]
1650 | bool m_overwrite = eLazyBoolCalculate;
| ^~~~~~~~~~~~~~~~~~
Differential Revision: https://reviews.llvm.org/D123204
More information about the All-commits
mailing list