Code scanning with CodeQL now includes beta support for C++20. Currently, CodeQL can only create CodeQL databases for C++20 code that is built with GCC on Linux. C++20 modules are not supported.

This feature is in beta. We are working on adding full support for C++20.

Let us know what you think: give feedback.