hanchenye-llvm-project/clang
Ted Kremenek a6d3ab394c Check if 'Unit' is NULL before trying to iterate over the diagnostics.
This obviates a null dereference that can occur when 'NumErrors'
is not zero.

llvm-svn: 97849
2010-03-05 22:43:29 +00:00
..
INPUTS
bindings/python CIndex: Switch CXSourceRange to proper half-open intervals. 2010-02-14 10:02:57 +00:00
clang.xcodeproj More improvements to construction vtables; we know handle vbase offsets correctly (I hope). 2010-02-28 01:43:58 +00:00
docs Use LLVM's new DESTDIR-less PROJ_* variables. 2010-03-04 20:57:19 +00:00
examples Wire up Daniel's new spiffy C interpreter into the CMake build system 2010-02-27 07:46:49 +00:00
include Patch to build qualifier on objective-c 2010-03-05 22:42:55 +00:00
lib Patch to build qualifier on objective-c 2010-03-05 22:42:55 +00:00
test Patch to build qualifier on objective-c 2010-03-05 22:42:55 +00:00
tools Check if 'Unit' is NULL before trying to iterate over the diagnostics. 2010-03-05 22:43:29 +00:00
utils Implement promotion for enumeration types. 2010-02-02 20:10:50 +00:00
www Fix typo. 2010-02-28 05:14:08 +00:00
CMakeLists.txt Add optional CMake build for Clang examples, patch by Kovarththanan Rajaratnam. 2009-11-17 09:32:51 +00:00
INSTALL.txt
LICENSE.TXT 2010 is here. 2010-01-09 18:40:42 +00:00
Makefile Improve updating of test/Makefile for out-of-dir builds. 2009-12-21 23:28:06 +00:00
ModuleInfo.txt
NOTES.txt Remove clang-cc tool, it has joined in unholy union with clang. 2009-12-12 00:56:47 +00:00
README.txt
TODO.txt switch -Werror/-Wfatal-errors error conditions to use diagnostics instead 2009-12-23 18:53:37 +00:00
VER

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 intrastructure 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/