Skip to content

Commit

Permalink
Apply clang-tidy fixes for readability-container-size-empty in Serial…
Browse files Browse the repository at this point in the history
…izeToLLVMBitcode.cpp (NFC)
  • Loading branch information
joker-eph committed Feb 26, 2024
1 parent b1d1f57 commit c67a4ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/unittests/Target/LLVM/SerializeToLLVMBitcode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ TEST_F(MLIRTargetLLVM, SKIP_WITHOUT_NATIVE(SerializeToLLVMBitcode)) {
"");
std::optional<SmallVector<char, 0>> serializedModule = serializer.run();
ASSERT_TRUE(!!serializedModule);
ASSERT_TRUE(serializedModule->size() > 0);
ASSERT_TRUE(!serializedModule->empty());

// Read the serialized module.
llvm::MemoryBufferRef buffer(
Expand Down

0 comments on commit c67a4ae

Please sign in to comment.