Mirror of official clang git repository located at http://llvm.org/git/clang. Updated every five minutes.
Перейти к файлу
Douglas Gregor 7b2fc9d3c9 Implement computation of the final overriders for each virtual
function within a class hierarchy (C++ [class.virtual]p2).

We use the final-overrider computation to determine when a particular
class is ill-formed because it has multiple final overriders for a
given virtual function (e.g., because two virtual functions override
the same virtual function in the same virtual base class). Fixes
PR5973.

We also use the final-overrider computation to determine which virtual
member functions are pure when determining whether a class is
abstract or diagnosing the improper use of an abstract class. The
prior approach to determining whether there were any pure virtual
functions in a class didn't cope with virtual base class subobjects
properly, and could not easily be fixed to deal with the oddities of
subobject hiding. Fixes PR6631.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99351 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-23 23:47:56 +00:00
INPUTS Add an input file that includes all standard C++ headers 2009-09-29 03:26:11 +00:00
bindings/python Rename the new Iterator objects and raise an assertion instead of returning invalid objects when the key is out of range. 2010-03-06 15:38:03 +00:00
clang.xcodeproj Add some missing files to xcode project 2010-03-23 20:23:06 +00:00
docs Document common clang compatibility issues. 2010-03-17 04:31:53 +00:00
examples Wire up Daniel's new spiffy C interpreter into the CMake build system 2010-02-27 07:46:49 +00:00
include Implement computation of the final overriders for each virtual 2010-03-23 23:47:56 +00:00
lib Implement computation of the final overriders for each virtual 2010-03-23 23:47:56 +00:00
test Implement computation of the final overriders for each virtual 2010-03-23 23:47:56 +00:00
tools Frontend: Don't free the CompilerInstance or FrontendActions when running under 2010-03-23 05:09:16 +00:00
utils Implement promotion for enumeration types. 2010-02-02 20:10:50 +00:00
www Add another compatibility note and tweak a few of the existing ones. 2010-03-17 07:10:56 +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 2010 is here. 2010-01-09 18:40:42 +00:00
Makefile Fix 80 col violation 2010-03-18 13:56:20 +00:00
ModuleInfo.txt Move the ModuleInfo.txt file. 2007-07-11 17:03:27 +00:00
NOTES.txt Remove clang-cc tool, it has joined in unholy union with clang. 2009-12-12 00:56:47 +00:00
README.txt rewrite readme. 2009-09-13 17:23:57 +00:00
TODO.txt switch -Werror/-Wfatal-errors error conditions to use diagnostics instead 2009-12-23 18:53:37 +00:00
VER Bump clang minor version (1.5). 2010-03-18 04:39:55 +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/