hanchenye-llvm-project/clang
Douglas Gregor 7bab5ff8e7 Eliminate CXXConditionDeclExpr with extreme prejudice.
All statements that involve conditions can now hold on to a separate
condition declaration (a VarDecl), and will use a DeclRefExpr
referring to that VarDecl for the condition expression. ForStmts now
have such a VarDecl (I'd missed those in previous commits).

Also, since this change reworks the Action interface for
if/while/switch/for, use FullExprArg for the full expressions in those
expressions, to ensure that we're emitting

Note that we are (still) not generating the right cleanups for
condition variables in for statements. That will be a follow-on
commit.

llvm-svn: 89817
2009-11-25 00:27:52 +00:00
..
INPUTS Add an input file that includes all standard C++ headers 2009-09-29 03:26:11 +00:00
clang.xcodeproj Update project file. 2009-11-24 16:12:41 +00:00
docs Fix a broken link 2009-11-09 15:15:41 +00:00
examples Add missed CMake file for adding clang examples to CMake build. 2009-11-17 09:40:40 +00:00
include Eliminate CXXConditionDeclExpr with extreme prejudice. 2009-11-25 00:27:52 +00:00
lib Eliminate CXXConditionDeclExpr with extreme prejudice. 2009-11-25 00:27:52 +00:00
test Eliminate CXXConditionDeclExpr with extreme prejudice. 2009-11-25 00:27:52 +00:00
tools Sort CMakeLists.txt 2009-11-24 16:32:20 +00:00
utils Remove '-checker-simple' reference from scan-build. Patch by Kovarththanan Rajaratnam! 2009-11-23 17:37:58 +00:00
win32 Update VS project. 2009-03-31 18:57:19 +00:00
www Update C++ status 2009-11-20 22:00:06 +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 Add minimal INSTALL.txt 2009-09-13 02:21:31 +00:00
LICENSE.TXT update copyright. 2009-09-30 15:59:45 +00:00
Makefile Add examples dir, built with BUILD_EXAMPLES=1 (Makefiles, no CMake equivalent yet). 2009-11-15 00:22:33 +00:00
ModuleInfo.txt
NOTES.txt add missing slashes to separator line; also testing commit access 2009-11-13 18:50:18 +00:00
README.txt rewrite readme. 2009-09-13 17:23:57 +00:00
TODO.txt Cleanup some clang-cc FIXMEs 2009-11-10 16:23:44 +00:00
VER Collapse more clang version numbers down into fewer places. 2009-09-16 01:26:05 +00:00

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/