Re: [ovs-dev] [PATCH v3] Makefile.am: Add clang static analysis support

2016-07-03 Thread Ben Pfaff
On Sun, Jul 03, 2016 at 04:22:40PM +0100, Bhanuprakash Bodireddy wrote: > Clang Static Analyzer is a source code analysis tool to find bugs. This > patch adds make target to trigger static analysis using below commands. > > ./boot.sh > For Clang: ./configure CC=clang --with-dpdk > For GCC: ./confi

[ovs-dev] [PATCH v3] Makefile.am: Add clang static analysis support

2016-07-03 Thread Bhanuprakash Bodireddy
Clang Static Analyzer is a source code analysis tool to find bugs. This patch adds make target to trigger static analysis using below commands. ./boot.sh For Clang: ./configure CC=clang --with-dpdk For GCC: ./configure CC=gcc --with-dpdk CFLAGS="-std=gnu99" make clang-analyze scan-view --host= --p