For some reason <string> defines std::fpos, which should be defined in <ios>.
Details
- Reviewers
• Quuxplusone Mordante ldionne - Group Reviewers
Restricted Project - Commits
- rG679f8a885b65: [libc++] Move fpos into its own header
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/include/__ios/fpos.h | ||
---|---|---|
2 | Since you're _LIBCPP_HIDE_FROM_ABI'ing this code already, do you also want to 2-space-indent it? | |
18 | D118800 is related. Please use the prevailing style until/unless we agree to do something different: $ git grep '#pragma GCC system_header' ../libcxx/include/ | wc -l 484 $ git grep '# pragma GCC system_header' ../libcxx/include/ | wc -l 1 $ git grep '# pragma GCC system_header' ../libcxx/include/ | wc -l 16 $ git grep '# pragma GCC system_header' ../libcxx/include/ | wc -l 2 $ git grep '# pragma GCC system_header' ../libcxx/include/ | wc -l 0 |
@Quuxplusone are you OK with it just being clang-formatted? I know you and I disagree what is readable, but I think in this case there is nothing you would object to.
libcxx/include/__ios/fpos.h | ||
---|---|---|
18 | I'll go with 2 spaces here, since that seems to be what you do in D118800. |
Since you're _LIBCPP_HIDE_FROM_ABI'ing this code already, do you also want to 2-space-indent it?