hanchenye-llvm-project/clang/test/SemaCXX
Douglas Gregor 40412acc02 Support overloading of the subscript operator[], including support for
built-in operator candidates. Test overloading of '&' and ','.

In C++, a comma expression is an lvalue if its right-hand
subexpression is an lvalue. Update Expr::isLvalue accordingly.

llvm-svn: 59643
2008-11-19 17:17:41 +00:00
..
addr-of-overloaded-function.cpp Basic support for taking the address of an overloaded function 2008-11-10 20:40:00 +00:00
aggregate-initialization.cpp Sema-check virtual declarations. Complete dynamic_cast checking. 2008-11-06 15:59:35 +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 Implement effects of 'mutable', and a few comments from Chris on its parsing. 2008-11-17 23:24:37 +00:00
condition.cpp Implement semantic checking of static_cast and dynamic_cast. 2008-10-31 14:43:28 +00:00
const-cast.cpp Remove workaround for reference. No longer necessary. 2008-10-29 19:45:21 +00:00
constructor-initializer.cpp Improve parser error recovery after a constructor initializer 2008-11-10 16:59:40 +00:00
constructor.cpp Semantic checking of constructor declarations and classification of default/copy constructors 2008-10-31 20:25:05 +00:00
conversion-function.cpp As threatened previously: consolidate name lookup and the creation of 2008-11-18 15:03:34 +00:00
converting-constructor.cpp Standard conversion sequences now have a CopyConstructor field, to 2008-11-03 19:09:14 +00:00
copy-initialization.cpp Implement C++ copy-initialization for declarations. There is now some 2008-11-05 15:29:30 +00:00
decl-expr-ambiguity.cpp implement a fixme by making warnings for ++/-- on non-modifiable-lvalues better. 2008-11-18 01:26:17 +00:00
default1.cpp Now that we have copy initialization support, use it for checking the default arguments 2008-11-04 13:57:51 +00:00
default2.cpp Diagnose use of 'this' in a C++ default argument. Thanks to Eli for correcting my bogus assertion about it already being handled 2008-11-04 13:41:56 +00:00
derived-to-base-ambig.cpp First non-embarrassing cut at checking for ambiguous derived-to-base 2008-10-24 04:54:22 +00:00
destructor.cpp Changes in preparation for nested-name-specifiers. 2008-11-07 22:02:30 +00:00
direct-initializer.cpp Implement C++ copy-initialization for declarations. There is now some 2008-11-05 15:29:30 +00:00
do-while-scope.cpp Fix do-while scoping in C++. 2008-09-11 04:46:46 +00:00
dynamic-cast.cpp Sema-check virtual declarations. Complete dynamic_cast checking. 2008-11-06 15:59:35 +00:00
fntype-decl.cpp Simplify and correct the check for function redefinitions. This does two things: 2008-10-29 15:10:40 +00:00
function-type-qual.cpp Unbreak the test by.. removing a space. (clang protested that -verify only works on single input files). 2008-10-24 22:25:11 +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
nested-name-spec.cpp Fix this: 2008-11-19 15:22:16 +00:00
overload-call-copycon.cpp Standard conversion sequences now have a CopyConstructor field, to 2008-11-03 19:09:14 +00:00
overload-call.cpp Simplify and correct the check for function redefinitions. This does two things: 2008-10-29 15:10:40 +00:00
overload-decl.cpp Preliminary support for function overloading 2008-10-21 16:13:35 +00:00
overloaded-builtin-operators.cpp Support overloading of the subscript operator[], including support for 2008-11-19 17:17:41 +00:00
overloaded-operator-decl.cpp Extend DeclarationName to support C++ overloaded operators, e.g., 2008-11-18 14:39:36 +00:00
overloaded-operator.cpp Support overloading of the subscript operator[], including support for 2008-11-19 17:17:41 +00:00
qualification-conversion.cpp Initial step toward supporting qualification conversions (C++ 4.4). 2008-10-21 23:43:52 +00:00
references.cpp Implement C++ DR 106 and C++ DR 540, both of which deal with 2008-11-03 15:51:28 +00:00
reinterpret-cast.cpp Semantic analysis for C++ reinterpret_cast and const_cast. Patch by Sebastian Redl. 2008-10-24 15:36:09 +00:00
reinterpret-fn-obj-pedantic.cpp Semantic analysis for C++ reinterpret_cast and const_cast. Patch by Sebastian Redl. 2008-10-24 15:36:09 +00:00
return-stack-addr.cpp Refactor the expression class hierarchy for casts. Most importantly: 2008-10-27 19:41:14 +00:00
static-cast.cpp Greatly improve static_cast diagnostics 2008-11-07 23:29:29 +00:00
static-initializers.cpp Initial sema support for C++ static initializers. 2008-08-22 05:00:02 +00:00
this.cpp
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
typeid.cpp Implement C++ 'typeid' parsing and sema. 2008-11-11 11:37:55 +00:00
user-defined-conversions.cpp Allow user-defined conversions during reference binding 2008-11-10 16:14:15 +00:00
wchar_t.cpp