[Mlir-commits] [mlir] 4432479 - Apply clang-tidy fixes for llvm-qualified-auto in InterfaceAttachmentTest.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Wed Feb 21 18:09:30 PST 2024


Author: Mehdi Amini
Date: 2024-02-21T18:09:10-08:00
New Revision: 443247993cb8562f1308aab5ee0a9404983707d0

URL: https://github.com/llvm/llvm-project/commit/443247993cb8562f1308aab5ee0a9404983707d0
DIFF: https://github.com/llvm/llvm-project/commit/443247993cb8562f1308aab5ee0a9404983707d0.diff

LOG: Apply clang-tidy fixes for llvm-qualified-auto in InterfaceAttachmentTest.cpp (NFC)

Added: 
    

Modified: 
    mlir/unittests/IR/InterfaceAttachmentTest.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/unittests/IR/InterfaceAttachmentTest.cpp b/mlir/unittests/IR/InterfaceAttachmentTest.cpp
index 2e1309ad776fe5..16de34c45ec6e0 100644
--- a/mlir/unittests/IR/InterfaceAttachmentTest.cpp
+++ b/mlir/unittests/IR/InterfaceAttachmentTest.cpp
@@ -421,7 +421,7 @@ TEST(InterfaceAttachmentTest, PromisedInterfaces) {
   // Attribute interfaces use the exact same mechanism as types, so just check
   // that the promise mechanism works for attributes.
   MLIRContext context;
-  auto testDialect = context.getOrLoadDialect<test::TestDialect>();
+  auto *testDialect = context.getOrLoadDialect<test::TestDialect>();
   auto attr = test::SimpleAAttr::get(&context);
 
   // `SimpleAAttr` doesn't implement nor promises the


        


More information about the Mlir-commits mailing list