llvm-project/clang
John McCall 08ef466048 Enter the cleanups for a block outside the enclosing
full-expression.  Naturally they're inactive before we enter
the block literal expression.  This restores the intended
behavior that blocks belong to their enclosing scope.

There's a useful -O0 / compile-time optimization that we're
missing here with activating cleanups following straight-line
code from their inactive beginnings.

llvm-svn: 144268
2011-11-10 08:15:53 +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 Fix grammaro 2011-11-03 18:33:01 +00:00
examples rename getHostTriple into getDefaultTargetTriple in clang 2011-11-01 21:33:06 +00:00
include Constant expression evaluation: support for evaluation of structs and unions of 2011-11-10 06:34:14 +00:00
lib Enter the cleanups for a block outside the enclosing 2011-11-10 08:15:53 +00:00
runtime Install a copy of the libc++ headers with clang. <rdar://problem/10096516> 2011-09-30 20:24:28 +00:00
test Enter the cleanups for a block outside the enclosing 2011-11-10 08:15:53 +00:00
tools Sort contents of exports file. No functionality change. 2011-11-08 20:42:13 +00:00
unittests Attempt to fix unit tests 2011-09-29 00:53:49 +00:00
utils [analyzer] Testing: test with all the non-experimental checker packages. 2011-11-08 22:41:25 +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/