[Mlir-commits] [mlir] 418c8cb - [mlir] Apply ClangTidy fix.
Adrian Kuegel
llvmlistbot at llvm.org
Mon Apr 17 04:51:17 PDT 2023
Author: Adrian Kuegel
Date: 2023-04-17T13:50:29+02:00
New Revision: 418c8cbcdd8a2d87042d48edf9fb8b5ff6897259
URL: https://github.com/llvm/llvm-project/commit/418c8cbcdd8a2d87042d48edf9fb8b5ff6897259
DIFF: https://github.com/llvm/llvm-project/commit/418c8cbcdd8a2d87042d48edf9fb8b5ff6897259.diff
LOG: [mlir] Apply ClangTidy fix.
The argument name 'useBarePtrCallConv' does not match the actual
parameter name 'useBarePointerCallConv'.
Added:
Modified:
mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp b/mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
index b8ed76378f1f2..88d7eaf524bad 100644
--- a/mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
+++ b/mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
@@ -629,8 +629,8 @@ LogicalResult mlir::structFuncArgTypeConverter(LLVMTypeConverter &converter,
LogicalResult mlir::barePtrFuncArgTypeConverter(LLVMTypeConverter &converter,
Type type,
SmallVectorImpl<Type> &result) {
- auto llvmTy =
- converter.convertCallingConventionType(type, /*useBarePtrCallConv=*/true);
+ auto llvmTy = converter.convertCallingConventionType(
+ type, /*useBarePointerCallConv=*/true);
if (!llvmTy)
return failure();
More information about the Mlir-commits
mailing list