[dia] [scan-build] minimal notes on using it
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [dia] [scan-build] minimal notes on using it
- Date: Fri, 23 Oct 2009 11:44:39 +0000 (UTC)
commit ee44acac500cfcf7dd45c9620427ac2c9961897f
Author: Hans Breuer <hans breuer org>
Date: Tue Oct 20 17:05:16 2009 +0200
[scan-build] minimal notes on using it
README | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/README b/README
index d4c0eca..ab51a42 100644
--- a/README
+++ b/README
@@ -72,3 +72,15 @@ the connectionpoint is saved as the index of the connectionpoint. So make
sure the order of the connectionpoints is the same when loading the saved
object.
+Notes on static analysis
+------------------------
+Some of the recent changes (log message starting with [scan-build] are suggested
+by static source analysis, see http://clang-analyzer.llvm.org/scan-build
+To use it just run ./configure and make through the scan-build script, like:
+
+PATH=/mnt/Home/from-svn/llvm/Release/bin:$PATH /mnt/Home/from-svn/llvm/tools/clang/utils/scan-build ./configure --enable-debug=yes
+ and
+PATH=/mnt/Home/from-svn/llvm/Release/bin:$PATH /mnt/Home/from-svn/llvm/tools/clang/utils/scan-build -v -v make -j3
+
+(given an unistalled checkout of llvm to /mnt/Home/from-svn/llvm)
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]