llvm-project/clang/test/SemaCXX
Douglas Gregor 5c407d9a9b Add support for conversions from a pointer-to-derived to a
pointer-to-base. Also, add overload ranking for pointer conversions
(for both pointer-to-void and derived-to-base pointer conversions).

Note that we do not yet diagnose derived-to-base pointer conversion
errors that stem from ambiguous or inacessible base classes. These
aren't handled during overload resolution; rather, when the conversion
is actually used we go ahead and diagnose the error.

llvm-svn: 58017
2008-10-23 00:40:37 +00:00
..
bool.cpp treat bool literals as constatnt expressions. 2008-08-23 21:12:35 +00:00
carbon.cpp Add carbon.cpp and cocoa.mm tests 2008-08-23 22:21:00 +00:00
class-names.cpp Move the rest of the Sema C++ tests into the SemaCXX test directory. 2008-08-22 15:43:49 +00:00
class.cpp Fix this bug: 2008-10-15 20:23:22 +00:00
condition.cpp Do implicit conversion to bool for the condition in a do-while statement. 2008-09-11 05:16:22 +00:00
decl-expr-ambiguity.cpp Initial step toward supporting qualification conversions (C++ 4.4). 2008-10-21 23:43:52 +00:00
default1.cpp Move the rest of the Sema C++ tests into the SemaCXX test directory. 2008-08-22 15:43:49 +00:00
default2.cpp Move the rest of the Sema C++ tests into the SemaCXX test directory. 2008-08-22 15:43:49 +00:00
direct-initializer.cpp In ParseParenDeclarator match "D.setGroupingParens(true);" with another setGroupingParens call after the ')' is parsed. 2008-10-07 10:21:57 +00:00
do-while-scope.cpp Fix do-while scoping in C++. 2008-09-11 04:46:46 +00:00
inherit.cpp Add representation of base classes in the AST, and verify that we 2008-10-22 17:49:05 +00:00
namespace.cpp Move the C++ Sema tests into a separate SemaCXX directory. 2008-08-16 20:53:59 +00:00
overload-call.cpp Add support for conversions from a pointer-to-derived to a 2008-10-23 00:40:37 +00:00
overload-decl.cpp Preliminary support for function overloading 2008-10-21 16:13:35 +00:00
qualification-conversion.cpp Initial step toward supporting qualification conversions (C++ 4.4). 2008-10-21 23:43:52 +00:00
references.cpp Move the C++ Sema tests into a separate SemaCXX directory. 2008-08-16 20:53:59 +00:00
return-stack-addr.cpp Move the rest of the Sema C++ tests into the SemaCXX test directory. 2008-08-22 15:43:49 +00:00
static-initializers.cpp Initial sema support for C++ static initializers. 2008-08-22 05:00:02 +00:00
this.cpp Move the C++ Sema tests into a separate SemaCXX directory. 2008-08-16 20:53:59 +00:00
type-convert-construct.cpp Give string literals const element typesin C++, and cope with the deprecated C++ conversion from a string literal to a pointer-to-non-const-character 2008-09-12 00:47:35 +00:00
wchar_t.cpp Type::isIntegerType() returns true for types between Bool and LongLong. 2008-08-17 13:24:01 +00:00