We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d1f57 commit c67a4aeCopy full SHA for c67a4ae
mlir/unittests/Target/LLVM/SerializeToLLVMBitcode.cpp
@@ -60,7 +60,7 @@ TEST_F(MLIRTargetLLVM, SKIP_WITHOUT_NATIVE(SerializeToLLVMBitcode)) {
60
"");
61
std::optional<SmallVector<char, 0>> serializedModule = serializer.run();
62
ASSERT_TRUE(!!serializedModule);
63
- ASSERT_TRUE(serializedModule->size() > 0);
+ ASSERT_TRUE(!serializedModule->empty());
64
65
// Read the serialized module.
66
llvm::MemoryBufferRef buffer(
0 commit comments