Issue 79706
Summary flang/lib/Semantics/check-directive-structure.h:180: possible performance problem ?
Labels flang
Assignees
Reporter dcb314
    Static analyser "cppcheck" says:

flang/lib/Semantics/check-directive-structure.h:180:11: performance: Function parameter 'directiveClausesMap' should be passed by const reference. [passedByValue]

Source code is

 DirectiveStructureChecker(SemanticsContext &context,
 std::unordered_map<D, DirectiveClauses<C, ClauseEnumSize>>
 directiveClausesMap)

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

Reply via email to