Issue 91219
Summary lldb/source/Breakpoint/Breakpoint.cpp:888: Prefer const reference for range variables
Labels
Assignees
Reporter dcb314
    Static analyser cppcheck says:

lldb/source/Breakpoint/Breakpoint.cpp:888:26: performance: Range variable 'name' should be declared as const reference. [iterateByValue]

Source code is

       for (std::string name : m_name_list) {

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to