You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/llvm/utils/TableGen/MacroFusionPredicatorEmitter.cpp:79:27: performance: Function parameter 'Fusions' should be passed by const reference. [passedByValue]
llvm/utils/TableGen/MacroFusionPredicatorEmitter.cpp:96:27: performance: Function parameter 'Fusions' should be passed by const reference. [passedByValue]
Duplicate.
The text was updated successfully, but these errors were encountered:
Static analyser cppcheck says:
/llvm/utils/TableGen/MacroFusionPredicatorEmitter.cpp:79:27: performance: Function parameter 'Fusions' should be passed by const reference. [passedByValue]
Source code is
void MacroFusionPredicatorEmitter::emitMacroFusionDecl(
std::vector<Record *> Fusions, PredicateExpander &PE, raw_ostream &OS) {
llvm/utils/TableGen/MacroFusionPredicatorEmitter.cpp:96:27: performance: Function parameter 'Fusions' should be passed by const reference. [passedByValue]
Duplicate.
The text was updated successfully, but these errors were encountered: