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]