Issue |
79703
|
Summary |
flang/lib/Optimizer/CodeGen/Target.cpp:50: possible performance problem ?
|
Labels |
flang
|
Assignees |
|
Reporter |
dcb314
|
Static analyser cppcheck says:
flang/lib/Optimizer/CodeGen/Target.cpp:50:34: performance: Function parameter 'context' should be passed by const reference. [passedByValue]
Source code is
static void typeTodo(const llvm::fltSemantics *sem, mlir::Location loc,
std::string context) {
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs