This is an archive of the discontinued LLVM Phabricator instance.

[libc][NFC] Add a separate flag for capturing the '+' in fopen mode string.
ClosedPublic

Authored by sivachandra on Mar 17 2022, 1:46 AM.

Details

Summary

Having a separate flag helps in setting up proper flags when
implementing, say the Linux specialization of File.

Along the way, a signature for a function which is to be used to open
files has been added. The implementation of the function is to be
included in platform specializations.

Diff Detail

Event Timeline

sivachandra created this revision.Mar 17 2022, 1:46 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 17 2022, 1:46 AM
sivachandra requested review of this revision.Mar 17 2022, 1:46 AM
lntue accepted this revision.Mar 17 2022, 7:37 AM
This revision is now accepted and ready to land.Mar 17 2022, 7:37 AM