Re: [Development] Static analysis of Qt

2014-04-19 Thread Liang Qi
I tried it with Qt 4.8 a few years ago, http://qihome.org/qiliang/2011/08/08/clang-static-analyzer-with-qt/ . And one time with Qt 5 a few months ago, but didn't get time to verify the items in reports. Regards, Liang On 18 April 2014 18:19, Jake Petroules wrote: > This is awesome. I'm curious

Re: [Development] Static analysis of Qt

2014-04-18 Thread Jake Petroules
This is awesome. I'm curious if anyone has tried the Clang static analyzer on the Qt codebase? -- Jake Petroules Chief Technology Officer Petroules Corporation ยท www.petroules.com Email: jake.petrou...@petroules.com On 2014-04-18, at 07:28 AM, Richard Moore wrote: > http://www.viva64.com/en/b/

Re: [Development] Static analysis of Qt

2014-04-18 Thread Mandeep Sandhu
On Fri, Apr 18, 2014 at 4:58 PM, Richard Moore wrote: > http://www.viva64.com/en/b/0251/ Wowsome of the typos are just...wow! For stuff like: if (!m) return m->engine()->currentContext()->throwTypeError(); I'd be surprised we haven't hit this bug already! Nice find I must say. -man

[Development] Static analysis of Qt

2014-04-18 Thread Richard Moore
http://www.viva64.com/en/b/0251/ I've fixed a few of the copy-paste errors, but I've not gone through the whole list: https://codereview.qt-project.org/#change,83763 https://codereview.qt-project.org/#change,83764 https://codereview.qt-project.org/#change,83765 https://codereview.qt-project.org/#