The motivation here is that the file_t based functions should be preferred whenever possible and that should be "the one true way" going forward to do file I/O. That isn't quite possible yet, so descriptor versions are still provided. Subsequent patches will try to convert the descriptor versions of the functions over to the file_t based versions, improving Support along the way as needed. Eventually the ultimate goal is to be able to remove the descriptor based functions.
Details
Details
- Reviewers
rnk • espindola
Diff Detail
Diff Detail
Event Timeline
Comment Actions
lgtm
llvm/unittests/Support/raw_pwrite_stream_test.cpp | ||
---|---|---|
86–87 | Oh dear, I'd forgotten about these old non Expected APIs. =( |
Oh dear, I'd forgotten about these old non Expected APIs. =(