hintonda added inline comments.

================
Comment at: utils/clangdiag.py:83
+    # Remove all diag breakpoints.
+    bkpts = lldb.SBBreakpointList(target)
+    target.FindBreakpointsByName("clang::Diagnostic", bkpts)
----------------
Can't use iterator because it gets invalidated and not all breakpoints get 
removed.  Also, `target.BreakpointDeleteByName` doesn't seem to exist, so 
iterated over `SBBreakpointList instead`.


https://reviews.llvm.org/D36347



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to