Apply clang-tidy fixes for performance-unnecessary-value-param in Bufferize.cpp (NFC)

This commit is contained in:
Mehdi Amini 2022-05-24 00:02:05 +00:00
parent cc871cf6b5
commit da3b8200e5
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ struct FinalizingBufferizePass
};
static BufferizationOptions::LayoutMapOption
parseLayoutMapOption(std::string s) {
parseLayoutMapOption(const std::string &s) {
if (s == "fully-dynamic-layout-map")
return BufferizationOptions::LayoutMapOption::FullyDynamicLayoutMap;
if (s == "identity-layout-map")