[Lldb-commits] [PATCH] D43884: [lldb] Extract more fields from NSException values

Kuba (Brecka) Mracek via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 12 09:07:58 PST 2018


kubamracek marked an inline comment as done.
kubamracek added inline comments.


================
Comment at: source/Plugins/Language/ObjC/NSException.cpp:161-168
+    static ConstString g___name("name");
+    static ConstString g___reason("reason");
     static ConstString g___userInfo("userInfo");
-    if (name == g___userInfo)
-      return 0;
+    static ConstString g___reserved("reserved");
+    if (name == g___name) return 0;
+    if (name == g___reason) return 1;
+    if (name == g___userInfo) return 2;
----------------
davide wrote:
> can you clang-format this and add a comment? Thanks.
This is already clang-formatted. Added comment.


https://reviews.llvm.org/D43884





More information about the lldb-commits mailing list