llvm-project/clang/test/SemaCXX
Anders Carlsson 84613c4eba It's an error to use a function declared in a class definition as a default argument before the function has been declared.
llvm-svn: 73234
2009-06-12 16:51:40 +00:00
..
__null.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
abstract.cpp Replace a cast with a dyn_cast as suggested by Doug. 2009-05-30 17:26:39 +00:00
access-base-class.cpp Disable access control by default. It can be enabled with the -faccess-control option. When we have better support for it, we can enable it by default again. 2009-05-13 19:49:53 +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 A block that returns a reference is an lvalue. 2009-05-26 02:03:20 +00:00
bool.cpp Create a new PrintingPolicy class, which we pass down through the AST 2009-05-29 20:38:28 +00:00
carbon.cpp Improve handling of (X86) target features. 2009-05-06 03:16:41 +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
composite-pointer-type.cpp Implement support for comparing pointers with <, >, <=, >=, ==, and != 2009-05-04 06:07:12 +00:00
condition.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
conditional-expr.cpp Disable access control by default. It can be enabled with the -faccess-control option. When we have better support for it, we can enable it by default again. 2009-05-13 19:49:53 +00:00
const-cast.cpp Use "()" instead of "(void)" when pretty-printing a parameter-less function type for C++. 2009-06-03 02:06:50 +00:00
constant-expression.cpp Add a big test case for I-C-Es in C++, and a fix to make it work. The fix might not be the right way to do it. 2009-05-27 19:34:06 +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 This is a pretty big cleanup for how invalid decl/type are handle. 2009-04-25 08:06:05 +00:00
constructor.cpp Rework the way we handle constructor decls to be less hacky and fix PR3948 completely. 2009-04-30 22:41:11 +00:00
conversion-function.cpp change a couple more c++ sema methods to be based on isinvalid bits. 2009-04-25 08:35:12 +00:00
convert-to-bool.cpp Create a new PrintingPolicy class, which we pass down through the AST 2009-05-29 20:38:28 +00:00
converting-constructor.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
copy-assignment.cpp Avoid using the built-in type checker for assignment in C++ when classes are involved. Patch by Vyacheslav Kononenko. 2009-05-21 11:50:50 +00:00
copy-initialization.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
dcl_ambig_res.cpp Big update to the C++ status table to reflect "recent" 2009-05-07 17:50:16 +00:00
dcl_init_aggr.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
decl-expr-ambiguity.cpp Use "()" instead of "(void)" when pretty-printing a parameter-less function type for C++. 2009-06-03 02:06:50 +00:00
default1.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
default2.cpp It's an error to use a function declared in a class definition as a default argument before the function has been declared. 2009-06-12 16:51:40 +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 C++ destructors can have a single unnamed void parameter. Fixes <rdar://problem/6841210>. 2009-04-30 23:18:11 +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 Implement support for comparing pointers with <, >, <=, >=, ==, and != 2009-05-04 06:07:12 +00:00
enum.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
exception-spec.cpp Disallow exception specs on typedefs. 2009-05-31 11:47:27 +00:00
exceptions.cpp Track down return statements in the handlers of a function-try-block of constructors. Meh ... 2009-04-27 21:33:24 +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
friend.cpp Friend declarations are only valid inside class definitions. 2009-05-11 22:55:49 +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 Fix another case where the extern-ness of extern "C" wasn't being captured. 2009-05-16 22:05:23 +00:00
member-expr-static.cpp Don't return member pointer types for static member functions. Fixes 6879261. 2009-05-16 21:43:42 +00:00
member-expr.cpp Use "()" instead of "(void)" when pretty-printing a parameter-less function type for C++. 2009-06-03 02:06:50 +00:00
member-location.cpp PR4103: improve source location information for members of the current 2009-04-29 17:56:47 +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-size.cpp Use the Itanium ABI for member pointers. Add a missing 'break' statement and a test case 2009-05-17 02:06:04 +00:00
member-pointer.cpp Handle member pointer types with dependent class types (e.g., int 2009-06-09 22:17:39 +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 Avoid using the built-in type checker for assignment in C++ when classes are involved. Patch by Vyacheslav Kononenko. 2009-05-21 11:50:50 +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 Fix an off by one error when trying to perform copy initialization of operator new and operator delete arguments. Sebastian, please review. 2009-05-31 19:49:47 +00:00
no-implicit-builtin-decls.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
nullptr.cpp Implement C++0x nullptr. 2009-05-10 18:38:11 +00:00
offsetof.cpp Fix/re-enable test. 2009-05-03 21:22:18 +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 Avoid using the built-in type checker for assignment in C++ when classes are involved. Patch by Vyacheslav Kononenko. 2009-05-21 11:50:50 +00:00
overloaded-operator-decl.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
overloaded-operator.cpp Create a new PrintingPolicy class, which we pass down through the AST 2009-05-29 20:38:28 +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 Use "()" instead of "(void)" when pretty-printing a parameter-less function type for C++. 2009-06-03 02:06:50 +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 Use "()" instead of "(void)" when pretty-printing a parameter-less function type for C++. 2009-06-03 02:06:50 +00:00
static-initializers.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
struct-class-redecl.cpp In C++, warn when something previously declared as a "struct" is later 2009-05-14 16:41:31 +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_destructor type trait. 2009-04-17 02:34:54 +00:00
trivial-destructor.cpp Add support for the __has_trivial_destructor type trait. 2009-04-17 02:34:54 +00:00
type-convert-construct.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
type-definition-in-specifier.cpp When we parse a tag specifier, keep track of whether that tag 2009-05-28 23:31:59 +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 One can use "class" and "struct" interchangeably to refer to a class 2009-05-03 17:18:57 +00:00
typeid.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
types_compatible_p.cpp Ban the use of __builtin_types_compatible_p in C++; g++ doesn't support it, 2009-05-19 22:28:02 +00:00
unused.cpp PR4103: Silence bogus unused expression warning. 2009-04-29 16:35:53 +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
virtual-override.cpp Check that the function being overridden is virtual. 2009-05-14 22:15:41 +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