llvm-project/clang
Douglas Gregor 0fcaac9ef3 Fix a crash-on-invalid where we were trying to parse C++ constructs in
C, then hitting an assertion because C code shouldn't try to parse
optional nested-name-specifiers. Fixes PR9137.

llvm-svn: 124860
2011-02-04 11:57:16 +00:00
..
INPUTS
bindings/python Rename 'CIndex' to 'libclang', since it has basically become our stable public 2010-04-30 21:51:10 +00:00
clang.xcodeproj Save getObjCGCAttrKind and use it in two places 2011-01-13 21:35:27 +00:00
docs Add __has_feature() for each of the type traits 2011-02-03 21:57:35 +00:00
examples make `make` work in examples/PrintFucntionNames on Mac. I checked that it still works on Linux. 2011-01-26 21:28:52 +00:00
include Downgrade error about attribute 'iboutlet' and 'ibaction' being applied to anything but a instance method to a warning. 2011-02-04 06:54:16 +00:00
lib Fix a crash-on-invalid where we were trying to parse C++ constructs in 2011-02-04 11:57:16 +00:00
runtime build: Use CLANG_NO_RUNTIME=1 specifically, not just any definition. 2010-12-22 22:23:39 +00:00
test Fix a crash-on-invalid where we were trying to parse C++ constructs in 2011-02-04 11:57:16 +00:00
tools USRs for Objective-C methods use the USR of the @interface as their base, not the USR of the class category or extension. 2011-02-04 07:13:40 +00:00
unittests Add gTest unittests to clang, and write the first one. 2011-02-03 04:51:52 +00:00
utils Minor fix for clang-completion-mode, from Dve Abrahams 2010-12-14 16:52:29 +00:00
www More tweaks to the compatibility page. 2011-02-03 11:29:18 +00:00
CMakeLists.txt Moved here from LLVM Clang's configuration options and related macros. 2011-02-03 22:48:20 +00:00
INSTALL.txt
LICENSE.TXT
Makefile Add gTest unittests to clang, and write the first one. 2011-02-03 04:51:52 +00:00
ModuleInfo.txt
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/