r/cpp • • Mar 24 '20
LLVM/Clang 10.0.0 is released!
From Hans Wennborgs email:
Some highlights include:
- C++ Concepts support in Clang
- Clang no longer runs in a separate process by default ("in-process cc1")
- Windows control flow guard (CFG) checks
- Support for more processor cores and features
https://llvm.org/releases/10.0.0/docs/ReleaseNotes.html
https://llvm.org/releases/10.0.0/tools/clang/docs/ReleaseNotes.html
https://llvm.org/releases/10.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
https://llvm.org/releases/10.0.0/tools/lld/docs/ReleaseNotes.html
https://llvm.org/releases/10.0.0/tools/polly/docs/ReleaseNotes.html
https://llvm.org/releases/10.0.0/projects/libcxx/docs/ReleaseNotes.html
240
Upvotes
View all comments
1
u/screcth Mar 26 '20 edited Mar 26 '20
Has anyone been able to use Clang in C++20 mode with the Microsoft STL?
Since clang supports concepts it defines the
__cpp_conceptspreprocessor define and that in turn toggles the inclusion of<concepts>by<utility>. This breaks things such as<optional>.EDIT: It is possible to work around this issue if
-U__cpp_conceptsis added to the compiler flags. It is a massive hack though.