[Mlir-commits] [mlir] da3b820 - Apply clang-tidy fixes for performance-unnecessary-value-param in Bufferize.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu May 26 14:30:30 PDT 2022
Author: Mehdi Amini
Date: 2022-05-26T21:29:58Z
New Revision: da3b8200e59987fc21bfb0741f05af4cba8b9bd3
URL: https://github.com/llvm/llvm-project/commit/da3b8200e59987fc21bfb0741f05af4cba8b9bd3
DIFF: https://github.com/llvm/llvm-project/commit/da3b8200e59987fc21bfb0741f05af4cba8b9bd3.diff
LOG: Apply clang-tidy fixes for performance-unnecessary-value-param in Bufferize.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp b/mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
index 64152273a17c6..4f621979a5e35 100644
--- a/mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
+++ b/mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
@@ -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")
More information about the Mlir-commits
mailing list