[Mlir-commits] [mlir] ad7937d - Apply clang-tidy fixes for llvm-qualified-auto in ToLLVMInterface.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Mon Nov 20 01:41:34 PST 2023
Author: Mehdi Amini
Date: 2023-11-20T01:40:49-08:00
New Revision: ad7937d338303d8d98b29f8947cf9d407f34b5de
URL: https://github.com/llvm/llvm-project/commit/ad7937d338303d8d98b29f8947cf9d407f34b5de
DIFF: https://github.com/llvm/llvm-project/commit/ad7937d338303d8d98b29f8947cf9d407f34b5de.diff
LOG: Apply clang-tidy fixes for llvm-qualified-auto in ToLLVMInterface.cpp (NFC)
Added:
Modified:
mlir/lib/Conversion/ConvertToLLVM/ToLLVMInterface.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Conversion/ConvertToLLVM/ToLLVMInterface.cpp b/mlir/lib/Conversion/ConvertToLLVM/ToLLVMInterface.cpp
index 0f2cdbb549ee66f..3a4e83b2a8838f8 100644
--- a/mlir/lib/Conversion/ConvertToLLVM/ToLLVMInterface.cpp
+++ b/mlir/lib/Conversion/ConvertToLLVM/ToLLVMInterface.cpp
@@ -23,7 +23,7 @@ void mlir::populateConversionTargetFromOperation(
return;
// First time we encounter this dialect: if it implements the interface,
// let's populate patterns !
- auto iface = dyn_cast<ConvertToLLVMPatternInterface>(dialect);
+ auto *iface = dyn_cast<ConvertToLLVMPatternInterface>(dialect);
if (!iface)
return;
iface->populateConvertToLLVMConversionPatterns(target, typeConverter,
More information about the Mlir-commits
mailing list