The implementation of the test printing currently expects a null
terminated C-string. However, the write_to_stderr interface uses a
string view, which doesn't need to be null terminated. This patch
changes the printing interface to directly use fwrite instead rather
than relying on a null terminator.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Why not new and delete?