Issue |
91220
|
Summary |
lldb/source/Breakpoint/BreakpointIDList.cpp:262: Prefer const reference for range variables
|
Labels |
lldb,
code-quality
|
Assignees |
|
Reporter |
dcb314
|
Static analyser cppcheck says:
lldb/source/Breakpoint/BreakpointIDList.cpp:262:26: performance: Range variable 'name' should be declared as const reference. [iterateByValue]
Source code is
for (std::string name : names_found) {
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs