4 ms·
> On the user side, Clang is well known for providing much better error messages. Some error messages will even suggest possible fixes (you might get something
by lloeki 15y ago
> On the user side, Clang is well known for providing much better error messages. Some error messages will even suggest possible fixes (you might get something like "Can't assign a pointer to a something, did you mean pointer?").*
Here [0] is an example of Xcode leveraging clang to provide valuable feedback. The second picture speaks volumes.
[0] http://www.macfanatic.net/blog/2009/08/28/xcode-3-2-static-analysis/ http://www.macfanatic.net/blog/2009/08/28/xcode-3-2-static-a...
- shurane 15y agoWhile we're on the subject of static analysis and valuable feedback, you should take a look at PVS-Studio, which is pretty neat as well, and is comparable to what clang can do (as far as I can tell from their blog posts).
- rje 15y agoFrom everything I've heard pvs-studio is great, but it only runs within Visual Studio. Would love to have an os x or linux version of it some day.