Issue 87255
Summary clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp:35: Pointless copy of vector ?
Labels clang
Assignees
Reporter dcb314
    Static analyser cppcheck says:

clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp:35:44: performance: Function parameter 'Names' should be passed by const reference. [passedByValue]

Source code is

    MangledSymbol(const std::string &ParentName, uint8_t Type, uint8_t Binding,
 std::vector<std::string> Names)

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to