Skip to content

llvm/tools/sancov/sancov.cpp: 3 * Function parameter should be passed by const reference #93012

Open
@dcb314

Description

@dcb314

Static analyser cppcheck says:

trunk/llvm/tools/sancov/sancov.cpp:1054:60: performance: Function parameter 'FileNames' should be passed by const reference. [passedByValue]
trunk/llvm/tools/sancov/sancov.cpp:450:41: performance: Function parameter 'Path' should be passed by const reference. [passedByValue]
trunk/llvm/tools/sancov/sancov.cpp:870:54: performance: Function parameter 'ObjectFile' should be passed by const reference. [passedByValue]

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-qualityllvm-toolsAll llvm tools that do not have corresponding tag

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions