miniblog.
← Back to all posts
Apr 7, 2020 at 07:07
A bunch of diagnostics polish in clang 10:
https://releases.llvm.org/10.0.0/tools/clang/docs/ReleaseNotes.html
One particularly cute addition: spotting that 2 ^ 10 is the user confusing exponentiation with xor!
Clang 10.0.0 Release Notes — Clang 10 documentation
releases.llvm.org/10.0.0/tools/clang/docs/ReleaseNotes.html
Wilfred Hughes
Related Posts
Sep 21, 2017 at 16:50
Amazingly, Clang implements proper tab stops so that its diagnostics always line up with the faulty code!
Mispositioned error-indicator at compile-time · Issue #38384 · rust-lang/rust
The positional indicator of the moved value appears with the wrong indentation as you can see in the screenshot: Apparently i don't know why this happens, i am using tabs (with 4 spaces width) to f...
Wilfred Hughes
Shared words: clang, diagnostics Score: 34.8
Jul 27, 2017 at 23:10
Clang is now the default compiler for OpenBSD!
https://github.com/openbsd/src/commit/bc04e837fd81a3001f68f102c770b45a53840885
(previously a 2008 gcc fork, should be faster w/better diagnostics)
switch the default compiler on amd64 and i386 to clang, · openbsd/src@bc04e83
but keep gcc4 in the build for these as well ok deraadt@
Wilfred Hughes
Shared words: clang, diagnostics Score: 34.8
Sep 7, 2015 at 17:28
Lots of great new features in clang 3.7!
https://llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html#clang-tidy
Some of the new macro warnings are particularly nice.
Clang 3.7 Release Notes — Clang 3.7 documentation
llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html#clang-tidy
Wilfred Hughes
Shared words: clang, particularly Score: 32.8