From 2d5f2da66786f145e6d6384f6b389a9c2805f4d9 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 13 Apr 2011 21:48:34 +0000 Subject: Update public analyzer build to checker-256. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129473 91177308-0d34-0410-b5e6-96231b3b80d8 --- www/analyzer/latest_checker.html.incl | 2 +- www/analyzer/release_notes.html | 50 +++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) (limited to 'www/analyzer') diff --git a/www/analyzer/latest_checker.html.incl b/www/analyzer/latest_checker.html.incl index 7cd6b2bff5..99151a8991 100644 --- a/www/analyzer/latest_checker.html.incl +++ b/www/analyzer/latest_checker.html.incl @@ -1 +1 @@ -checker-255.tar.bz2 (built February 11, 2011) +checker-256.tar.bz2 (built April 13, 2011) diff --git a/www/analyzer/release_notes.html b/www/analyzer/release_notes.html index 7b6924fa34..163e84f372 100644 --- a/www/analyzer/release_notes.html +++ b/www/analyzer/release_notes.html @@ -15,6 +15,56 @@

Release notes for checker-XXX builds

+

checker-256

+ +

built: April 13, 2011
+download: checker-256.tar.bz2

+

highlights:

+ + + +

This build contains basic support for C++ and Objective-C++ that is ready to be tried out + by general users. It is still in its infancy, but establishes a baseline for things to come. The main hope is that it can find some + issues and have a reasonable false positive rate.

+ +

Please file bugs when you see issues of any kind so we can assess + where development on C++ analysis support needs to be focused.

+ +

To try out C++ analysis support, it should work out of the box using scan-build. If you are using this checker build + as a replacement to the analyzer bundled with Xcode, first use the set-xcode-analyzer script to change Xcode to use + your version of the analyzer. You will then need to modify one configuration file in Xcode to enable C++ analysis support. This can + be done with the following steps:

+ +
    +
  1. Find the clang .xcspec file: +
    $ cd /Developer/Library
    +$ find . | grep xcspec | grep Clang
    +./Xcode/<SNIP>/Clang LLVM 1.0.xcplugin/Contents/Resources/Clang LLVM 1.0.xcspec
    +
  2. +
  3. The exact location of the file may vary depending on your installation of Xcode. Edit that file, and look for the string "--analyze": +
    +  SourceFileOption = "--analyze";
    +  FileTypes = (
    +      "sourcecode.c.c",
    +      "sourcecode.c.objc",
    +  );
    +  ...
    +
    + Change the "FileTypes" entry to: +
    +  FileTypes = (
    +      "sourcecode.c.c",
    +      "sourcecode.c.objc",
    +      "sourcecode.cpp.cpp",
    +      "sourcecode.cpp.objcpp",
    +  );
    +
  4. +
  5. Restart Xcode.
  6. +
+

checker-255

built: February 11, 2011
-- cgit v1.2.3-18-g5258