[all-commits] [llvm/llvm-project] c8fab8: [docs] [C++20] [Modules] Ideas for transitioning t...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon Feb 19 21:29:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8fab880fad987fbab6bfbcdab72219f5d35e645
      https://github.com/llvm/llvm-project/commit/c8fab880fad987fbab6bfbcdab72219f5d35e645
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-02-20 (Tue, 20 Feb 2024)

  Changed paths:
    M clang/docs/StandardCPlusPlusModules.rst

  Log Message:
  -----------
  [docs] [C++20] [Modules] Ideas for transitioning to modules (#80687)

This patch tries to provide some ideas to transform an existing
libraries to modules. I feel this is helpful for users who is interested
in modules from my observation. While the syntax of modules look easy to
understand, the practice gets harder if the users want to make
compatible work with headers. Especially the `std` module can be
installed in clang18, I think such document may be helpful.

I tried to not be too wordy in this document and I don't want the users
to have impressions that they have to follow this or this is the best
practice. So I tried to use the term `idea` imply the users this is not
compulsory.

I add some regular reviewers for modules, but review opinions from users
are highly recommended.

I want to land this before the releasing of clang18 (in the early
March). We can and should improve this continuously.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list