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

Chuanqi Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 3 00:45:23 PST 2022


ChuanqiXu added a subscriber: MyDeveloperDay.
ChuanqiXu added inline comments.


================
Comment at: clang/test/Modules/search-partitions.cppm:20
+//--- partition1.cpp
+export module A : Part1;
+
----------------
@MyDeveloperDay hi, I remember the support for partitions in clang-format is done in https://reviews.llvm.org/D114151. I think I did something wrong. I format my code with the following command in the root directory of llvm project:
```
git diff -U0 --no-color --relative HEAD^ | clang/tools/clang-format/clang-format-diff.py -p1 -i
```

Would it use an out-dated clang-format? If yes, how should I use the proper one. Or if is it possible that the `.clang-format` files is not updated correctly?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120874



More information about the cfe-commits mailing list