[llvm] llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h: 2 * pointless copy (#94385) (PR #94410)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 09:35:20 PDT 2024


akshaykumars614 wrote:

Static analyser cppcheck caught saying 
trunk/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h:215:52: performance: Function parameter 'LHS' should be passed by const reference. [passedByValue]
trunk/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h:216:52: performance: Function parameter 'RHS' should be passed by const reference. [passedByValue]

https://github.com/llvm/llvm-project/pull/94410


More information about the llvm-commits mailing list