[Mlir-commits] [mlir] 9e0e1ca - Apply clang-tidy fixes for performance-unnecessary-value-param in TestReifyValueBounds.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sat Feb 17 14:05:22 PST 2024
Author: Mehdi Amini
Date: 2024-02-17T14:05:03-08:00
New Revision: 9e0e1ca17e9ddd3e3aba1b83fd4c1ac59b41ff79
URL: https://github.com/llvm/llvm-project/commit/9e0e1ca17e9ddd3e3aba1b83fd4c1ac59b41ff79
DIFF: https://github.com/llvm/llvm-project/commit/9e0e1ca17e9ddd3e3aba1b83fd4c1ac59b41ff79.diff
LOG: Apply clang-tidy fixes for performance-unnecessary-value-param in TestReifyValueBounds.cpp (NFC)
Added:
Modified:
mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp
Removed:
################################################################################
diff --git a/mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp b/mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp
index 393e83beb475b5..39671a930f2e21 100644
--- a/mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp
+++ b/mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp
@@ -56,7 +56,7 @@ struct TestReifyValueBounds
} // namespace
-FailureOr<BoundType> parseBoundType(std::string type) {
+FailureOr<BoundType> parseBoundType(const std::string &type) {
if (type == "EQ")
return BoundType::EQ;
if (type == "LB")
More information about the Mlir-commits
mailing list