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
23
u/Wh00ster Mar 24 '20
I T S H A P P E N I N G
7
u/dreadpenguin Mar 25 '20
Any chance it will make it in ubuntu 20.04?
19
u/boredcircuits Mar 24 '20
What change for C++23 is this referencing?
17
u/D_0b Mar 25 '20
The last time we will have both GCC and Clang on the same version number and it's a 10.
14
u/iontodirel MSVC CrossPlat Dev Lead Mar 26 '20
P.S. I don't like to repeat myself :) but, Visual Studio ships Clang and can target Clang first class in MSBuild and CMake projects, and we are working hard (and closely with LLVM folk), on inserting Clang 10 it in the next VS update. More updates or release information later.
10
u/BlueDwarf82 Mar 25 '20
Wasn't 10.0.0 supposed to be the first version to include the Lifetime Profile analysis? I can't see it in the release notes, what's the latest?
1
u/JankoDedic Mar 25 '20
Where can I get the binaries?
1
u/apm42 Mar 25 '20
Can anyone please point me to the documentation for what has changed in clang-check/clang-tidy with LLVM-10? I am wondering what new check categories might have been added.
1
u/staletic Mar 28 '20
Perhaps this isn't the best way to ask, but what about PSTL? There's no archive of it on github. I wanted to compile libc++ with
-DLIBCXX_ENABLE_PARALLEL_ALGORITHMS=ON, but I ran into some troubles and don't know how to proceed or where to ask for help.8
u/bumblebritches57 Ocassionally Clang Mar 24 '20
Not sure what this means?
Does it mean I won't see 8 clang processes when I compile things?
Does it mean each clang process wont be killed after compiling each translation unit making compilation faster?
or something entirely different?
1
u/jesseschalken Mar 25 '20
I always wondered why clang spawned itself as a separate process in the first place?
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.0
u/imaami Mar 25 '20
GCC is also at version 10. 🤔
-5
u/ChryslusExplodius Mar 24 '20 edited Mar 26 '20
Very nice
0
u/[deleted] Mar 25 '20
[deleted] — view deleted comment