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