Mirror of official clang git repository located at http://llvm.org/git/clang. Updated every five minutes.
Перейти к файлу
Douglas Gregor 6653798ff5 When comparing the source range of a declaration against the region of
interest (e.g., as used by clang_getCursor()), count the
decl-specifier-seq as part of the source range, as we do for
clang_annotateTokens(). Makes clang_getCursor() work properly for the
result types of functions, for example.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119514 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-17 17:14:07 +00:00
INPUTS Add an input file that includes all standard C++ headers 2009-09-29 03:26:11 +00:00
bindings/python Rename 'CIndex' to 'libclang', since it has basically become our stable public 2010-04-30 21:51:10 +00:00
clang.xcodeproj Fixes a rewrite bug, rewriting nested property usage 2010-11-08 18:37:50 +00:00
docs move AdvanceToTokenCharacter and getLocForEndOfToken from 2010-11-17 07:05:50 +00:00
examples Turns out that we may end up calling dladdr on GetExecutablePath, give it external linkage to make sure the lookup works on all platforms. 2010-10-30 17:32:40 +00:00
include Add skeleton for handling various cfg dtors. 2010-11-17 09:16:19 +00:00
lib Silence warning for "clang -O2 -O0 -c foo.c -o foo.o. 2010-11-17 15:16:14 +00:00
runtime Driver/Darwin: Add a runtime library just for ___eprintf -- when targeting i386 2010-09-22 00:03:52 +00:00
test When comparing the source range of a declaration against the region of 2010-11-17 17:14:07 +00:00
tools When comparing the source range of a declaration against the region of 2010-11-17 17:14:07 +00:00
utils utils/ABITest: Factor out type naming code slightly. 2010-09-27 20:13:24 +00:00
www Update checker build. 2010-11-16 01:56:23 +00:00
CMakeLists.txt Copied some flags from the Makefile build to the list of GCC flags. 2010-10-15 00:16:22 +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 Makefile: Follow r118918, to add configuration "ENABLE_DOCS". 2010-11-14 03:29:27 +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 switch -Werror/-Wfatal-errors error conditions to use diagnostics instead 2009-12-23 18:53:37 +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/