3 ms·
While we're talking about Clang errors, here's a neat trick I discovered a few days ago: LLVM comes bundled with a tool that will show you all the errors/warni
by gavinray 4y ago
While we're talking about Clang errors, here's a neat trick I discovered a few days ago:
LLVM comes bundled with a tool that will show you all the errors/warnings in a nested, hierarchical fashion
Along with being color-coded by whether they're enabled by default, and if they only exist for GCC compatibility.
You can display this by typing:
$ diagtool tree [optional-warning-level-like-Wall]
See: https://twitter.com/GavinRayDev/status/1593399093820129280 https://twitter.com/GavinRayDev/status/1593399093820129280
Here's a GIST where I collected some of the more obscure options you may be interested in adding:
https://gist.github.com/GavinRay97/bae1d93925e55ce0a0084946f24984cf https://gist.github.com/GavinRay97/bae1d93925e55ce0a0084946f...