[PATCH] D120874: [C++20] [Modules] Use '-' as the separator of partitions when searching in filesystems

Thorsten via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 3 18:58:09 PST 2022


tschuett added inline comments.


================
Comment at: clang/lib/Lex/HeaderSearch.cpp:199
+      // The separator of C++20 modules partitions (':') is not good for file
+      // systems, here we choose '-' by default since it is not a valid
+      // character of C++ indentifiers. So we could avoid conflicts. BTW, '-' is
----------------
Or: here clang and gcc choose ...


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120874/new/

https://reviews.llvm.org/D120874



More information about the cfe-commits mailing list