miniblog.
← Back to all posts
Mar 18, 2016 at 22:16
Interestingly, there are 4 separate ways you can declare a main() function without getting type warnings from Clang:
Wrong main declaration - Rebuild of the Debian archive with clang
clang.debian.net/status.php?version=3.6.0&key=WRONG_MAIN_DECLARATION
Wilfred Hughes
Related Posts
Feb 24, 2016 at 16:21
Clang's warnings keep getting better. A handy warning on dubious uses of commas just landed on trunk:
⚙ D3976 -Wcomma, a new warning for questionable uses of the comma operator
reviews.llvm.org/D3976
Wilfred Hughes
Shared words: Clang, getting, warnings Score: 113
Jan 12, 2015 at 08:00
I really like how clang reports type warnings that include type aliases. It's already helped me fix a bug.
Wilfred Hughes
Shared words: Clang, type, warnings Score: 108.5
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, warnings Score: 65.8