[Mlir-commits] [mlir] 41630c6 - Apply clang-tidy fixes for bugprone-argument-comment in LLVMTypeTest.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu Sep 15 06:24:39 PDT 2022
Author: Mehdi Amini
Date: 2022-09-15T13:23:34Z
New Revision: 41630c6d3f41356d18a7cb908be4772e7e4bffd4
URL: https://github.com/llvm/llvm-project/commit/41630c6d3f41356d18a7cb908be4772e7e4bffd4
DIFF: https://github.com/llvm/llvm-project/commit/41630c6d3f41356d18a7cb908be4772e7e4bffd4.diff
LOG: Apply clang-tidy fixes for bugprone-argument-comment in LLVMTypeTest.cpp (NFC)
Added:
Modified:
mlir/unittests/Dialect/LLVMIR/LLVMTypeTest.cpp
Removed:
################################################################################
diff --git a/mlir/unittests/Dialect/LLVMIR/LLVMTypeTest.cpp b/mlir/unittests/Dialect/LLVMIR/LLVMTypeTest.cpp
index 75c6fd004e3d4..295c58f925e85 100644
--- a/mlir/unittests/Dialect/LLVMIR/LLVMTypeTest.cpp
+++ b/mlir/unittests/Dialect/LLVMIR/LLVMTypeTest.cpp
@@ -27,9 +27,9 @@ TEST_F(LLVMIRTest, MutualReferencedSubElementTypes) {
// Created two structs that are referencing each other.
Type fooBody[] = {LLVMPointerType::get(barStructTy)};
- ASSERT_TRUE(succeeded(fooStructTy.setBody(fooBody, /*packed=*/false)));
+ ASSERT_TRUE(succeeded(fooStructTy.setBody(fooBody, /*isPacked=*/false)));
Type barBody[] = {LLVMPointerType::get(fooStructTy)};
- ASSERT_TRUE(succeeded(barStructTy.setBody(barBody, /*packed=*/false)));
+ ASSERT_TRUE(succeeded(barStructTy.setBody(barBody, /*isPacked=*/false)));
auto subElementInterface = fooStructTy.dyn_cast<SubElementTypeInterface>();
ASSERT_TRUE(bool(subElementInterface));
More information about the Mlir-commits
mailing list