[Lldb-commits] [lldb] [LLDB] Support exception breakpoints for plugin-provided languages (PR #97675)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 4 02:05:00 PDT 2024


================
@@ -319,6 +316,12 @@ class CommandObjectBreakpointSet : public CommandObjectParsed {
           error_context = "Unknown language type for exception breakpoint";
           break;
         default:
+          if (Language *languagePlugin = Language::FindPlugin(language)) {
----------------
DavidSpickett wrote:

You could drop the braces from the first if I think, but this is already in so many sets of braces I'd keep them for clarity's sake.

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


More information about the lldb-commits mailing list