llvm-project/clang/test
Douglas Gregor 4165bd6772 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.

llvm-svn: 99351
2010-03-23 23:47:56 +00:00
..
ASTMerge Add test for AST importing of C++ namespaces, missing from a prior commit 2010-02-24 21:53:36 +00:00
Analysis Tweak null dereference diagnostics to give clearer diagnostics when 2010-03-23 01:11:38 +00:00
CXX Implement computation of the final overriders for each virtual 2010-03-23 23:47:56 +00:00
CodeCompletion When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
CodeGen IRgen: Wrap atomic intrinsics with memory barriers, to ensure we honor the semantics. 2010-03-20 07:04:11 +00:00
CodeGenCXX revert 99311. Looks like it broke darwin bootstrap. 2010-03-23 19:55:22 +00:00
CodeGenObjC Code gen for compound assignment of complex 2010-03-23 18:43:00 +00:00
CodeGenObjCXX Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
Coverage Revert changes r97693, r97700, and r97718. 2010-03-04 04:29:44 +00:00
Driver Driver: Support CC_PRINT_OPTIONS, used for logging the compile commands (in -v style) to a file. 2010-03-20 08:01:59 +00:00
FixIt When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
Frontend Fix PR5982, a refacto in checking for '=' in a -D argument. 2010-01-10 00:46:21 +00:00
Headers move a test to a more appropriate directory 2010-03-22 20:31:04 +00:00
Index Robustify PreprocessingRecord slightly, by only creating macro 2010-03-19 21:58:23 +00:00
Lexer At sabre's request, drop the FP bounds diagnostics down to warnings and file 2010-02-26 23:35:57 +00:00
Misc Remove this test. It is causing problems has has relatively little value 2010-03-17 16:04:04 +00:00
PCH Defang 2010-03-18 15:37:47 +00:00
Parser Don't consume tokens past the end-of-file in an @interface. Fixes 2010-03-16 06:04:47 +00:00
Preprocessor fix rdar://7683173, rejecting an invalid conditional 2010-02-26 19:42:53 +00:00
Rewriter Add tentative support for accessing local variables with 2010-03-11 18:20:03 +00:00
Sema Ignore a more comprehensive set of gcc-special format attributes. 2010-03-23 14:44:19 +00:00
SemaCXX When recovering from a qualified typedef name, don't clear out the 2010-03-23 15:26:55 +00:00
SemaObjC Improve diagnostic for @property/ivar type mismatch by including the types of the 2010-03-23 19:02:22 +00:00
SemaObjCXX objective-c++ must take into account qualifiers when 2010-03-15 18:36:00 +00:00
SemaTemplate Perform access control even for the implicit destructor calls from implicit 2010-03-16 05:36:30 +00:00
CMakeLists.txt Add test cases for r98003 and r98006. 2010-03-08 23:38:27 +00:00
Makefile Add clang_site_config user variable, so that extra tests (e.g., utils/C++Syntax) 2009-11-05 16:36:19 +00:00
TestRunner.sh Switch TestRunner.sh to just use 'lit'. 2009-09-20 22:00:23 +00:00
cxx-sections.data Update C++ section data and directory structure to reflect N2914 2009-06-30 16:45:27 +00:00
lit.cfg tests: Mangle '-vg' onto the end of the triple when running under valgrind, so 2010-03-20 21:13:08 +00:00
lit.site.cfg.in Rework site config for cmake to be generated at configure time, and only pass 2009-11-07 23:53:32 +00:00
make_test_dirs.pl Add the structure for a C++ test suite that mimics the structure of the C++ standard 2009-06-13 06:06:53 +00:00