hanchenye-llvm-project/clang
Chandler Carruth 1d6073abad Invert the loop for detecting installed GCC trees. This make the loop
find the newest GCC available, among other goodness. It makes the entire
system much less prone to error from prefixes and/or system roots
pruning early the set of triples and GCC versions available.

Also, improve some comments and simplify the forms of some of the loops.

This causes the driver to stat directories more often than is strictly
necessary, but the alternatives which I looked at that still
accomplished this goal needed quite a bit more code and were likely not
much faster.

Test cases for this, now that our behavior here is significantly more
principled and predictable, should come tomorrow as I walk back through
VMs looking for edge cases that are missed after this.

llvm-svn: 141072
2011-10-04 09:47:17 +00:00
..
INPUTS Enhance the CFG construction to detect no-return destructors for 2011-09-13 06:09:01 +00:00
bindings/python Update python testcase for GNU old-style field designator warning, 2011-08-30 00:16:30 +00:00
docs Revert my --working-directory option, which wasn't well thought through. 2011-09-30 21:33:09 +00:00
examples Rip out flags for controlling C++ "production mode" separately. 2011-10-04 05:34:14 +00:00
include Rip out flags for controlling C++ "production mode" separately. 2011-10-04 05:34:14 +00:00
lib Invert the loop for detecting installed GCC trees. This make the loop 2011-10-04 09:47:17 +00:00
runtime Install a copy of the libc++ headers with clang. <rdar://problem/10096516> 2011-09-30 20:24:28 +00:00
test Mark calls to objc_retainBlock that don't result from casts 2011-10-04 06:23:45 +00:00
tools Rip out flags for controlling C++ "production mode" separately. 2011-10-04 05:34:14 +00:00
unittests Attempt to fix unit tests 2011-09-29 00:53:49 +00:00
utils [analyzer] CmpRuns can now optionally delete empty reports. 2011-09-12 22:40:36 +00:00
www Document the incompatibility that stems from Clang properly implement 2011-09-27 18:58:27 +00:00
.gitignore Add .gitignore file. 2011-07-18 23:05:36 +00:00
CMakeLists.txt CMake: Define ${LLVM_TABLEGEN_EXE} with explicit ${CMAKE_EXECUTABLE_SUFFIX} on standalone build. Or build might fail with NMake. 2011-09-23 00:52:55 +00:00
INSTALL.txt
LICENSE.TXT My calendar says it's 2011. 2011-06-12 15:26:54 +00:00
Makefile If you download clang and delete the test directory, you can end up 2011-09-27 21:28:10 +00:00
ModuleInfo.txt
NOTES.txt Make a note about a missing optimization. 2011-07-28 07:41:22 +00:00
README.txt
TODO.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/