Skip to content

llvm/include/llvm/IR/ModuleSummaryIndex.h: 3 * Function parameter 'Flags' should be passed by const reference #93009

@dcb314

Description

@dcb314

Static analyser cppcheck says:

trunk/llvm/include/llvm/IR/ModuleSummaryIndex.h:1153:28: performance: Function parameter 'Flags' should be passed by const reference. [passedByValue]
trunk/llvm/include/llvm/IR/ModuleSummaryIndex.h:628:24: performance: Function parameter 'Flags' should be passed by const reference. [passedByValue]
trunk/llvm/include/llvm/IR/ModuleSummaryIndex.h:900:27: performance: Function parameter 'Flags' should be passed by const reference. [passedByValue]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions