<__format/format_functions.h> was using <string>, we need to bring the include back that was removed in D154122.
Details
Details
- Reviewers
ldionne Mordante - Group Reviewers
Restricted Project - Commits
- rG33fe4dc91e34: [libc++][Modules] Restore the <string> include to <__format/format_functions.h>
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
I think the change is the wrong direction. std::format returns a std::string. In my experience arguments and return values often need to be explicitly exported. So I think the proper fix would be to include string in this header. The main issue is that accidentally forgotten headers worked in the past.