Details
Details
- Reviewers
EricWF kazu JDevlieghere MaskRay
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This comment was removed by zkkxu.
Comment Actions
I agree. This should use https://clang.llvm.org/docs/UsersManual.html#configuration-files .
clang/include/clang/Driver/Distro.h is not a place to enumerate every distribution. It provides some methods e.g. IsOpenSuse to be checked by driver code to add, for example, default linker options for a particular distribution.
However, this has been largely replaced with https://clang.llvm.org/docs/UsersManual.html#configuration-files and we should migrate some to use configuration files.
https://blogs.gentoo.org/mgorny/2022/10/07/clang-in-gentoo-now-sets-default-runtimes-via-config-file/ has some nice information.