[llvm] Unittests and usability for BitstreamWriter incremental flushing (PR #92983)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Fri May 24 12:32:52 PDT 2024
================
@@ -93,31 +93,39 @@ class BitstreamWriter {
/// If the related file stream supports reading, seeking and writing, flush
/// the buffer if its size is above a threshold.
- void FlushToFile() {
- if (!FS)
+ void FlushToFile(bool OnClosing = false) {
----------------
mtrofin wrote:
done
https://github.com/llvm/llvm-project/pull/92983
More information about the llvm-commits
mailing list