[Lldb-commits] [lldb] [lldb] Use if-with-initializer pattern in SBTarget (NFC) (PR #141284)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue May 27 05:39:02 PDT 2025


https://github.com/labath commented:

I'm not sure this change is beneficial in the cases where it causes an increase in the level of indentation (due to separating the check for TargetSP from other validity checks).

What would you say to using the c++17 init-statement, plus condition?

https://github.com/llvm/llvm-project/pull/141284


More information about the lldb-commits mailing list