[Lldb-commits] [PATCH] D12683: Fix debugger shutdown when Python interpreter is loaded

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 7 22:04:29 PDT 2015

tfiala added a subscriber: tfiala.

Comment at: source/Core/Debugger.cpp:426
@@ +425,3 @@
+    for (const auto& debugger: debuggers)
+        debugger->Clear();
Wouldn't Clear() be considered a mutating function?  So a const debugger ref seems like maybe it should be non-const?

for (auto& debugger: debuggers) {


More information about the lldb-commits mailing list