hanchenye-llvm-project/clang
Anna Zaks 699f55b98c [analyzer] Fix a false positive in the CFArrayCreate check that surfaces
the the code like this (due to x and &x being the same value but
different size):

void* x[] = { ptr1, ptr2, ptr3 };
CFArrayCreate(NULL, (const void **) &x, count, NULL);

llvm-svn: 149579
2012-02-02 01:30:08 +00:00
..
INPUTS Enhance the CFG construction to detect no-return destructors for 2011-09-13 06:09:01 +00:00
bindings/python Add CXX_FINAL_ATTR, CXX_OVERRIDE_ATTR, ANNOTATE_ATTR and ASM_LABEL_ATTR to the 2011-12-30 15:27:22 +00:00
docs The following patch adds __attribute__((no_address_safety_analysis)) which will allow to disable 2012-01-24 19:25:38 +00:00
examples Adjust CLANG_BUILD_EXAMPLES to mean whether the examples are built 2012-01-26 03:33:40 +00:00
include constexpr: 2012-02-02 01:16:57 +00:00
lib [analyzer] Fix a false positive in the CFArrayCreate check that surfaces 2012-02-02 01:30:08 +00:00
runtime Use the new installheaders makefile target in libcxx. 2012-01-21 06:25:34 +00:00
test [analyzer] Fix a false positive in the CFArrayCreate check that surfaces 2012-02-02 01:30:08 +00:00
tools Added source location for the template keyword in AST template-id expressions. 2012-01-27 09:46:47 +00:00
unittests Thread a TargetInfo through to the module map; we'll need it for 2012-01-30 06:01:29 +00:00
utils [analyzer] Testing: add 2 new checkers to the buildbot script. 2012-02-01 16:46:57 +00:00
www Post link to checker-260, which is checker-259 with some experimental checks enabled. 2012-01-26 03:02:34 +00:00
.gitignore Revert "Test commit" 2011-10-24 10:03:25 +00:00
CMakeLists.txt back out r149504 2012-02-02 00:40:14 +00:00
INSTALL.txt
LICENSE.TXT Happy new year 2012! 2012-01-01 08:16:56 +00:00
Makefile Add the Clang tblgen backends to Clang, and flip the switch to cause 2011-10-06 13:03:08 +00:00
ModuleInfo.txt
NOTES.txt
README.txt

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:              http://clang.llvm.org/
Building and using Clang:          http://clang.llvm.org/get_started.html
Clang Static Analyzer:             http://clang-analyzer.llvm.org/
Information on the LLVM project:   http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/