Chuanqi Xu

Results 73 comments of Chuanqi Xu

I didn't meet the same or similar issue before. > (The issue talks about "C++20 modules" and "clang header modules". I assume @import is a syntax for using clang header...

> Can I work on this? I don't know ccache a lot. But you can contact me if you need information from modules : )

> Hello @ChuanqiXu9 , Could you please provide some examples of how to use modules? I will start working on it. Looking forward to learning and implementing modules. Hello. https://clang.llvm.org/docs/StandardCPlusPlusModules.html...

> a .pcm → .o rule may not be so feasible in the future. No, clang don't have such plans (deprecating 2 phase compilation model) at least for now. >...

@comius hi, what's the fate of the patch?

> Let the user implement IOCallback? Yeah, but the problem is how to design the interface... we feel like the previous design is not generic enough..

If IOCallback is incomplete type, the users are hard to know how to call `submitIO`. I think there is only 2 choices: 1. Design a generic IO interface. 2. Remove...

> > If IOCallback is incomplete type, the users are hard to know how to call `submitIO`. I think there is only 2 choices: > > > > 1. Design...

> > > > > If IOCallback is incomplete type, the users are hard to know how to call `submitIO`. I think there is only 2 choices: > > >...

> ```c++ > struct IOCallback { > IOCallback(AIOCallback) {} > IOCallback(AsioCallback) {} > IOCallback(UringCallback) {} > void operator()(io_event_t) {} > void operator()(std::size_t) {} > void operator()(asio::error_code ec, std::size_t) {} >...