ccls
ccls copied to clipboard
C++20 Modules support
Is it possible to implement completions for C++20 modules? The major compilers seem to have support for it.
Please!!, I'm getting errors all the time for not found modules
Please!!, I'm getting errors all the time for not found modules
as far as I konw, clang not implement modules yet
if the code can be compile by clang, it`s a bug.
https://en.cppreference.com/w/cpp/compiler_support/20
from clang 7 to trunk(13.0.0) the modules have been around with special args for the cli
gcc 11 also started to add support for C++20 module, also with cli args.
I have the same question. I'm working through the book 'Professional C++' and getting errors with the Hello World example which uses import instead of #include.
import <iostream>;
int main(){
std::cout << "Hello World!" << std::endl;
return 0;
}
I'm using the llvm clang++ on Mac OS.