llvm-project/clang
John McCall b6c4a7ef21 For the annals of subtle but terrible bugs: fix a longstanding bug
in vtable layout where virtual methods inherited from virtual bases
could be assigned the same vcall adjustment slot if they shared
a name and parameter signature but differed in their
cv-qualification.  The code was already trying to handle this
case, but unfortunately used the ordinary type qualifiers
(which are always empty here) instead of the method qualifiers.
This seems like something that the API should discourage, but
I don't know how to carry that principle out in this instance.

Eliminate this function's need for an ASTContext while we're at it.

This bug affects the ABI, and fixing it brings us into accord with
the Itanium ABI (and GCC's implementation of it), but, obviously,
technically breaks full compatibility with previous releases of Clang.
Just letting you know.

llvm-svn: 153168
2012-03-21 06:57:19 +00:00
..
INPUTS Extend all-std-headers.cpp to include C++11 headers when building in C++11 mode. 2012-02-14 23:06:14 +00:00
bindings/python [clang.py] Implement Cursor.objc_type_encoding 2012-03-10 22:23:27 +00:00
docs numberWithFloat -> numberWithDouble. 2012-03-20 22:24:08 +00:00
examples clang-interpreter/Makefile: [PR12313] Update USEDLIBS to add clangEdit. 2012-03-21 06:25:42 +00:00
include Don't include FixIts with a null replacement range. Fixes <rdar://problem/11040133>. 2012-03-20 20:49:45 +00:00
lib For the annals of subtle but terrible bugs: fix a longstanding bug 2012-03-21 06:57:19 +00:00
runtime build/compiler-rt: Stop forcing off -integrated-as for compiler-rt builds. 2012-03-05 20:19:03 +00:00
test For the annals of subtle but terrible bugs: fix a longstanding bug 2012-03-21 06:57:19 +00:00
tools Don't include FixIts with a null replacement range. Fixes <rdar://problem/11040133>. 2012-03-20 20:49:45 +00:00
unittests get rid of an unsued variable warning. 2012-03-06 21:18:56 +00:00
utils Adding namespace qualifiers to the visualizers and improving their behavior. 2012-03-10 22:28:45 +00:00
www Update checker build. 2012-03-15 23:02:21 +00:00
.gitignore Revert "Test commit" 2011-10-24 10:03:25 +00:00
CMakeLists.txt CMake: install libclang.dll to $CMAKE_INSTALL_PREFIX/bin. 2012-02-25 16:46:50 +00:00
INSTALL.txt
LICENSE.TXT Happy new year 2012! 2012-01-01 08:16:56 +00:00
Makefile Add the Clang tblgen backends to Clang, and flip the switch to cause 2011-10-06 13:03:08 +00:00
ModuleInfo.txt
NOTES.txt Make a note about a missing optimization. 2011-07-28 07:41:22 +00:00
README.txt commit access verified, revert change 2012-03-06 22:55:51 +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/