[libc-commits] [libc] [libc] Support dynamically-grown lines in FlatFileDatabase (PR #223811)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Tue Sep 15 15:50:25 PDT 2026


================
@@ -142,9 +224,10 @@ template <typename EntryType> class FlatFileDatabase {
     return {};
----------------
vonosmas wrote:

I feel like this logic can be extracted to `ErrorOr<void> clear_file_stream()` that would be called from both `enddb` and `set_path(path)`.

https://github.com/llvm/llvm-project/pull/223811


More information about the libc-commits mailing list