We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 838c9f2 commit 0c8e475Copy full SHA for 0c8e475
lldb/source/Breakpoint/BreakpointResolver.cpp
@@ -207,12 +207,12 @@ void BreakpointResolver::SetSCMatchesByLine(
207
const bool ShouldQueryLanguageFilter =
208
GetBreakpoint()->GetTarget().GetEnableLanguageFilterForLineBreakpoints();
209
210
- for (uint32_t i = 0; i < sc_list.GetSize(); ++i) {
+ for (const auto &sc : sc_list) {
211
if (ShouldQueryLanguageFilter)
212
- if (Language *lang = Language::FindPlugin(sc_list[i].GetLanguage());
213
- lang && lang->IgnoreForLineBreakpoints(sc_list[i]))
+ if (Language *lang = Language::FindPlugin(sc.GetLanguage());
+ lang && lang->IgnoreForLineBreakpoints(sc))
214
continue;
215
- all_scs.push_back(sc_list[i]);
+ all_scs.push_back(sc);
216
}
217
218
while (all_scs.size()) {
0 commit comments