[Lldb-commits] [lldb] [LLDB] Extract process arguments from core dump for Linux (PR #185338)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 9 08:02:18 PDT 2026


================
@@ -5915,8 +5948,12 @@ void Process::GetStatus(Stream &strm) {
     } else {
       if (state == eStateConnected)
         strm.Printf("Connected to remote target.\n");
-      else
+      else {
----------------
JDevlieghere wrote:

If you're adding braces here, you [should](https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements) add braces to the case above as well.

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


More information about the lldb-commits mailing list