Перейти к файлу
Chandler Carruth 543cb655b1 Implement -Wenum-compare, which warns when comparing two enums of
different types. We omit the warning when the enum types are anonymous.
Unlike GCC, this warning does not distinguish between C++ and C/ObjC for
controling whether it is on by default, it is always on by default.

Original patch contributed by Richard Trieu (@ Google), I fixed some
style issues, and cleaned it up for submission.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125739 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-17 08:37:06 +00:00
INPUTS Add an input file that includes all standard C++ headers 2009-09-29 03:26:11 +00:00
bindings/python python bindings: Add support for different kind of completion chunks 2011-02-05 17:54:10 +00:00
clang.xcodeproj Anger the CMake gods by updating 'clang.xcodeproj'. 2011-02-14 20:09:57 +00:00
docs fix two broken links and some out of date writing, PR9174 2011-02-14 06:42:50 +00:00
examples Fix the clang-wpa example. 2011-02-15 16:54:12 +00:00
include Implement -Wenum-compare, which warns when comparing two enums of 2011-02-17 08:37:06 +00:00
lib Implement -Wenum-compare, which warns when comparing two enums of 2011-02-17 08:37:06 +00:00
runtime build/compiler-rt: Fake Clang into using the right assembler to build the ARM 2011-02-11 01:29:49 +00:00
test Implement -Wenum-compare, which warns when comparing two enums of 2011-02-17 08:37:06 +00:00
tools Step #1/N of implementing support for __label__: split labels into 2011-02-17 07:39:24 +00:00
unittests Adds a CMake target for the Basic lib's unit tests. Reviewed by 2011-02-16 05:45:20 +00:00
utils Minor fix for clang-completion-mode, from Dve Abrahams 2010-12-14 16:52:29 +00:00
www Update static analyzer build to checker-255. 2011-02-12 03:20:34 +00:00
CMakeLists.txt CMake: Tweak for Visual Studio 10 quirk at clang-standalone build. 2011-02-16 03:07:15 +00:00
INSTALL.txt Add minimal INSTALL.txt 2009-09-13 02:21:31 +00:00
LICENSE.TXT 2010 is here. 2010-01-09 18:40:42 +00:00
Makefile Add gTest unittests to clang, and write the first one. 2011-02-03 04:51:52 +00:00
ModuleInfo.txt Move the ModuleInfo.txt file. 2007-07-11 17:03:27 +00:00
NOTES.txt A Release-Asserts build is now called a Release build. 2010-07-07 07:49:17 +00:00
README.txt Fix typo (test commit) 2010-06-17 12:39:05 +00:00
TODO.txt Test commit; added blank line to TODO.txt 2011-01-04 19:19:20 +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 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/