[llvm] Unittests and usability for BitstreamWriter incremental flushing (PR #92983)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri May 24 10:50:01 PDT 2024
================
@@ -55,4 +61,77 @@ TEST(BitstreamWriterTest, emitBlob4ByteAligned) {
EXPECT_EQ(StringRef("str0"), Buffer);
}
+class BitstreamWriterFlushTest : public ::testing::TestWithParam<int> {
+protected:
+ const unsigned BlkID = bitc::FIRST_APPLICATION_BLOCKID + 17;
----------------
teresajohnson wrote:
Needs comment. E.g. why the +17?
https://github.com/llvm/llvm-project/pull/92983
More information about the llvm-commits
mailing list