llvm-project/clang/test/SemaCXX
Sebastian Redl 1a99f441e6 Fix a crash bug when comparing overload quality of conversion operators with conversion constructors.
Remove an atrocious amount of trailing whitespace in the overloaded operator mangler. Sorry, couldn't help myself.
Change the DeclType parameter of Sema::CheckReferenceInit to be passed by value instead of reference. It wasn't changed anywhere.
Let the parser handle C++'s irregular grammar around assignment-expression and conditional-expression.
And finally, the reason for all this stuff: implement C++ semantics for the conditional operator. The implementation is complete except for determining lvalueness.

llvm-svn: 69299
2009-04-16 17:51:27 +00:00
..
__null.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
abstract.cpp Fix the bug that Eli noticed where we wouldn't look at function decls outside the class declaration. 2009-03-24 17:23:42 +00:00
access-base-class.cpp Revert Sebastian's rvalue patch (r67870) since it caused test failures in 2009-03-28 04:17:27 +00:00
access.cpp Set the access specifier for templates inside classes. 2009-03-26 01:24:28 +00:00
addr-of-overloaded-function.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
address-of.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
aggregate-initialization.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
anonymous-union.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
attr-unavailable.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
basic_lookup_argdep.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
blocks.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
bool.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
carbon.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
class-names.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
class.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
complex-overload.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
condition.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
conditional-expr.cpp Fix a crash bug when comparing overload quality of conversion operators with conversion constructors. 2009-04-16 17:51:27 +00:00
const-cast.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
constructor-initializer.cpp Improve handling of base initializers. We now parse initializers in out of line decls, such as: 2009-03-25 02:58:17 +00:00
constructor-recovery.cpp Improve recovery when a constructor fails to type-check. Test case from Anders 2009-03-27 04:38:56 +00:00
constructor.cpp Improve recovery when a constructor fails to type-check. Test case from Anders 2009-03-27 04:38:56 +00:00
conversion-function.cpp Fix a crash bug when comparing overload quality of conversion operators with conversion constructors. 2009-04-16 17:51:27 +00:00
convert-to-bool.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
converting-constructor.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
copy-initialization.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
dcl_init_aggr.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
decl-expr-ambiguity.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
default1.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
default2.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
deleted-function.cpp Add deleted functions and rvalue references to C++ status. 2009-04-12 17:41:24 +00:00
dependent-types.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
derived-to-base-ambig.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
destructor.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
direct-initializer.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
do-while-scope.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
dynamic-cast.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
elaborated-type-specifier.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
enum.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
expressions.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
fntype-decl.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
function-redecl.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
function-type-qual.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
functional-cast.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
i-c-e-cxx.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
implicit-int.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
inherit.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
inline.cpp Diagnose uses of function specifiers on declarations which don't declare 2009-04-07 19:37:57 +00:00
linkage-spec.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
member-expr.cpp If the user is trying to apply the -> or . member reference operator 2009-03-27 06:00:30 +00:00
member-name-lookup.cpp Make parsing a semantic analysis a little more robust following Sema 2009-04-01 21:51:26 +00:00
member-pointer.cpp Make sure to use RequireCompleteType rather than testing for 2009-03-24 19:52:54 +00:00
ms-exception-spec.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
namespace-alias.cpp Check in test for namespace aliases+using directives. 2009-03-31 05:47:19 +00:00
namespace.cpp Make the implicit-int handling error recovery stuff handle C++ 2009-04-14 22:17:06 +00:00
nested-name-spec.cpp Make the implicit-int handling error recovery stuff handle C++ 2009-04-14 22:17:06 +00:00
new-delete.cpp Make sure to use RequireCompleteType rather than testing for 2009-03-24 19:52:54 +00:00
no-implicit-builtin-decls.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
overload-call-copycon.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
overload-call.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
overload-decl.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
overload-member-call.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
overloaded-builtin-operators.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
overloaded-operator-decl.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
overloaded-operator.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
qualification-conversion.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
qualified-id-lookup.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
qualified-names-diag.cpp Give Type::getDesugaredType a "for-display" mode that can apply more 2009-04-01 15:47:24 +00:00
qualified-names-print.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
references.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
reinterpret-cast.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
reinterpret-fn-obj-pedantic.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
return-stack-addr.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
rval-references.cpp Parse deleted member functions. Parsing member declarations goes through a different code path that I forgot previously. 2009-04-12 17:16:29 +00:00
statements.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
static-assert.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
static-cast.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
static-initializers.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
template-specialization.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
this.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
trivial-constructor.cpp Add support for the __has_trivial_constructor type trait. 2009-04-16 00:08:20 +00:00
try-catch.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
type-convert-construct.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
type-dependent-exprs.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
type-traits.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
typedef-redecl.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
typeid.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
user-defined-conversions.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
using-directive.cpp Make the selection of type declarations in Sema::getTypeName 2009-04-13 15:14:38 +00:00
vararg-non-pod.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
virtuals.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
warn-for-var-in-else.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
wchar_t.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00