llvm-project/clang
Douglas Gregor 6c8f07ff46 Teach the CFG builder how to properly destroy temporaries who
lifetimes have been extended via reference binding. The type of the
reference and the type of the temporary are not necessarily the same,
which could cause a crash. Fixes <rdar://problem/10398199>.

llvm-svn: 144646
2011-11-15 15:29:30 +00:00
..
INPUTS Enhance the CFG construction to detect no-return destructors for 2011-09-13 06:09:01 +00:00
bindings/python cindex.py: Remove more ternary operator + whitespace fixes 2011-10-31 02:06:50 +00:00
docs ARC: make assignment to 'self' within class methods illegal. Fixes <rdar://problem/10416568>. 2011-11-14 21:59:25 +00:00
examples rename getHostTriple into getDefaultTargetTriple in clang 2011-11-01 21:33:06 +00:00
include Warning option typo correction: When two options have the same edit_distance don't display either. 2011-11-15 12:26:39 +00:00
lib Teach the CFG builder how to properly destroy temporaries who 2011-11-15 15:29:30 +00:00
runtime Install a copy of the libc++ headers with clang. <rdar://problem/10096516> 2011-09-30 20:24:28 +00:00
test Teach the CFG builder how to properly destroy temporaries who 2011-11-15 15:29:30 +00:00
tools [libclang] Indexing API: Pass an implicit ObjCInterfaceDecl (@implementation without @interface) 2011-11-15 06:20:24 +00:00
unittests Attempt to fix unit tests 2011-09-29 00:53:49 +00:00
utils Validate DiagGroup names in TableGen, they're used as command line arguments so we don't want shell meta chars in there. 2011-11-15 12:54:53 +00:00
www Remove duplicate listings for core.DivideZero 2011-11-07 18:00:03 +00:00
.gitignore Revert "Test commit" 2011-10-24 10:03:25 +00:00
CMakeLists.txt Add the Clang tblgen backends to Clang, and flip the switch to cause 2011-10-06 13:03:08 +00:00
INSTALL.txt
LICENSE.TXT My calendar says it's 2011. 2011-06-12 15:26:54 +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 Make a note about a missing optimization. 2011-07-28 07:41:22 +00:00
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/