Re: clang static analyzer: use it!

2009-09-08 Thread Michel Alexandre Salim
On Fri, Sep 4, 2009 at 9:04 AM, Steve Grubbsgr...@redhat.com wrote: On Friday 04 September 2009 02:30:14 am Jim Meyering wrote: Quick summary: use this tool:   http://clang-analyzer.llvm.org/ If you're not using its scan-build tool, then start.  Right now. Really.  It's that good. llvm

Re: clang static analyzer: use it!

2009-09-08 Thread Lennart Poettering
On Tue, 08.09.09 10:33, Michel Alexandre Salim (michael.silva...@gmail.com) wrote: The latest Rawhide llvm build: http://koji.fedoraproject.org/koji/buildinfo?buildID=130997 -- which you'd probably have to install manually until it hits the Rawhide mirrors -- have clang's analyzer

Re: clang static analyzer: use it!

2009-09-08 Thread Conrad Meyer
On Tuesday 08 September 2009 07:33:10 am Michel Alexandre Salim wrote: The latest Rawhide llvm build: http://koji.fedoraproject.org/koji/buildinfo?buildID=130997 -- which you'd probably have to install manually until it hits the Rawhide mirrors -- have clang's analyzer packaged. Once it

Re: clang static analyzer: use it!

2009-09-08 Thread Lennart Poettering
On Tue, 08.09.09 19:52, Lennart Poettering (mzerq...@0pointer.de) wrote: On Tue, 08.09.09 10:33, Michel Alexandre Salim (michael.silva...@gmail.com) wrote: The latest Rawhide llvm build: http://koji.fedoraproject.org/koji/buildinfo?buildID=130997 -- which you'd probably have to

Re: clang static analyzer: use it!

2009-09-05 Thread Kevin Kofler
Roland McGrath wrote: They do not claim to handle C++. … which means most of my packages are not eligible for being analyzed by it. :-( Kevin Kofler -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list

Re: clang static analyzer: use it!

2009-09-05 Thread Michel Alexandre Salim
On Fri, Sep 4, 2009 at 9:04 AM, Steve Grubbsgr...@redhat.com wrote: On Friday 04 September 2009 02:30:14 am Jim Meyering wrote: Quick summary: use this tool:   http://clang-analyzer.llvm.org/ If you're not using its scan-build tool, then start.  Right now. Really.  It's that good. Thanks

Re: clang static analyzer: use it!

2009-09-05 Thread Michel Alexandre Salim
On Sat, Sep 5, 2009 at 5:07 PM, Kevin Koflerkevin.kof...@chello.at wrote: Roland McGrath wrote: They do not claim to handle C++. … which means most of my packages are not eligible for being analyzed by it. :-( Yes, unfortunately the priority is to get C going first and then Obj-C. --

Re: clang static analyzer: use it!

2009-09-04 Thread Steve Grubb
On Friday 04 September 2009 02:30:14 am Jim Meyering wrote: Quick summary: use this tool: http://clang-analyzer.llvm.org/ If you're not using its scan-build tool, then start. Right now. Really. It's that good. llvm is in Fedora. Looking at the build instructions for clang, it seems

Re: clang static analyzer: use it!

2009-09-04 Thread Dave Jones
On Fri, Sep 04, 2009 at 08:30:14AM +0200, Jim Meyering wrote: Quick summary: use this tool: http://clang-analyzer.llvm.org/ If you're not using its scan-build tool, then start. Right now. Really. It's that good. Recently I've run it on a variety of packages, from coreutils

Re: clang static analyzer: use it!

2009-09-04 Thread Dave Jones
On Fri, Sep 04, 2009 at 01:15:40PM -0400, Jeff Moyer wrote: I added a path to the clang bin/ dir, and copied scan-build to my ~/bin and then ran with 'make defconfig ; scan-build -o clang make bzImage' Am I missing something obvious ? It may be that the kernel defines $(CC) to

Re: clang static analyzer: use it!

2009-09-04 Thread Jeff Moyer
Dave Jones da...@redhat.com writes: On Fri, Sep 04, 2009 at 08:30:14AM +0200, Jim Meyering wrote: Quick summary: use this tool: http://clang-analyzer.llvm.org/ If you're not using its scan-build tool, then start. Right now. Really. It's that good. Recently I've run

Re: clang static analyzer: use it!

2009-09-04 Thread John Reiser
On 09/03/2009 11:30 PM, Jim Meyering wrote: Quick summary: use this tool: http://clang-analyzer.llvm.org/ If you're not using its scan-build tool, then start. Right now. Really. It's that good. ... The software does not understand Fedora gcc/g++ well. Just to get started, I had to add

Re: clang static analyzer: use it!

2009-09-04 Thread John Reiser
They do not claim to handle C++. They failed to generate the obvious error message upon finding C++ syntax. -- -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list