llvm-project/clang/test/SemaCXX
Douglas Gregor 5978cdb5ef Make "implicit int" an error in C++ (unless we're allowing Microsoft
extensions). This caught a couple bugs in our test suite :)

llvm-svn: 64686
2009-02-16 22:38:20 +00:00
..
__null.cpp Add codegen support for __null 2008-12-21 22:39:40 +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
address-of.cpp fix PR 3222: allow one to get the address of a global function in C++ 2008-12-16 22:58:26 +00:00
aggregate-initialization.cpp Sema-check virtual declarations. Complete dynamic_cast checking. 2008-11-06 15:59:35 +00:00
anonymous-union.cpp Implement support for anonymous structs and unions in C. Both C and 2009-01-12 22:49:06 +00:00
basic_lookup_argdep.cpp Fix our semantic analysis of 2009-02-04 15:01:18 +00:00
blocks.cpp instead of forcing blocks on by default, make them default to off, but let 2008-12-04 23:20:07 +00:00
bool.cpp Implement checks for bool in increment and decrement. 2008-12-20 09:35:34 +00:00
carbon.cpp Add carbon.cpp and cocoa.mm tests 2008-08-23 22:21:00 +00:00
class-names.cpp Add svn:eol-style=native to some files 2009-02-14 20:20:19 +00:00
class.cpp Complete semantic checking for typedef redeclarations in C++. The 2009-01-28 17:15:10 +00:00
complex-overload.cpp Expand the definition of a complex promotion to include complex -> 2009-02-12 00:26:06 +00:00
condition.cpp Make one expected-diag directive match exactly one actual diagnostic. 2009-02-07 19:52:04 +00:00
const-cast.cpp Add support for member pointers to const_cast. 2009-01-26 22:19:12 +00:00
constructor-initializer.cpp Improve parser error recovery after a constructor initializer 2008-11-10 16:59:40 +00:00
constructor.cpp Correct the order in which we cope with end-of-class-definition 2008-12-24 00:01:03 +00:00
conversion-function.cpp Fix our semantic analysis of 2009-02-04 15:01:18 +00:00
convert-to-bool.cpp Initial implementation of argument dependent lookup (a.k.a. ADL, 2009-02-04 00:32:51 +00:00
converting-constructor.cpp Initial implementation of argument dependent lookup (a.k.a. ADL, 2009-02-04 00:32:51 +00:00
copy-initialization.cpp Correct the order in which we cope with end-of-class-definition 2008-12-24 00:01:03 +00:00
dcl_init_aggr.cpp Make one expected-diag directive match exactly one actual diagnostic. 2009-02-07 19:52:04 +00:00
decl-expr-ambiguity.cpp Initial implementation of argument dependent lookup (a.k.a. ADL, 2009-02-04 00:32:51 +00:00
default1.cpp Correct the order in which we cope with end-of-class-definition 2008-12-24 00:01:03 +00:00
default2.cpp Fix redundant errors with missing default arguments in member declarations. 2009-02-08 14:56:26 +00:00
dependent-types.cpp Introduce basic support for dependent types, type-dependent 2008-12-05 23:32:09 +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 Enable out-of-line definitions of C++ constructors and destructors 2008-12-12 08:25:50 +00:00
direct-initializer.cpp Removed the warning 2008-12-17 16:19:15 +00:00
do-while-scope.cpp Add svn:eol-style=native to some files 2009-02-14 20:20:19 +00:00
dynamic-cast.cpp Make one expected-diag directive match exactly one actual diagnostic. 2009-02-07 19:52:04 +00:00
elaborated-type-specifier.cpp When we see a reference to a struct, class, or union like "struct X" 2009-01-09 22:42:13 +00:00
enum.cpp Fix <rdar://problem/6502934>. We were creating an ImplicitCastExpr 2009-01-16 19:38:23 +00:00
expressions.cpp Add missing test case for operator ! result type. 2009-01-19 21:37:51 +00:00
fntype-decl.cpp Make all the 'redefinition' diagnostics more consistent, and make the 2008-11-23 23:12:31 +00:00
function-type-qual.cpp Add svn:eol-style=native to some files 2009-02-14 20:20:19 +00:00
functional-cast.cpp Make one expected-diag directive match exactly one actual diagnostic. 2009-02-07 19:52:04 +00:00
i-c-e-cxx.cpp Make const-initialized const integral variables I-C-Es in C++. 2009-02-07 13:06:23 +00:00
implicit-int.cpp Make "implicit int" an error in C++ (unless we're allowing Microsoft 2009-02-16 22:38:20 +00:00
inherit.cpp Add expected note. Surely people test before the check in stuff. 2009-02-14 20:35:19 +00:00
linkage-spec.cpp When determining whether a variable is a file-scoped variable, check 2009-01-07 02:48:43 +00:00
member-expr.cpp Add test for contextual conversion to bool, and enable some FIXME'd tests 2009-01-16 03:02:29 +00:00
member-name-lookup.cpp Make the test cases failing due to exact diagnostic matching XFAIL. 2009-02-08 10:28:44 +00:00
member-pointer.cpp Add negative test cases and fix diagnostics for member pointer dereferencing. 2009-02-07 00:41:42 +00:00
ms-exception-spec.cpp Parse the exception-specification throw(...), a Microsoft extension 2008-12-01 18:00:20 +00:00
namespace.cpp Make one expected-diag directive match exactly one actual diagnostic. 2009-02-07 19:52:04 +00:00
nested-name-spec.cpp Make the test cases failing due to exact diagnostic matching XFAIL. 2009-02-08 10:28:44 +00:00
new-delete.cpp Update new expression to make use of Declarator::getSourceRange(). 2009-02-09 18:24:27 +00:00
no-implicit-builtin-decls.cpp Add test case to insure that implicit builtin declarations for C library functions aren't created in C++ 2009-02-14 00:37:42 +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 In C++, set the type of each of the enumerators in an enumeration to 2008-12-12 02:00:36 +00:00
overload-decl.cpp Place constructors and destructors into the DeclContext of the class, 2008-12-15 21:24:18 +00:00
overload-member-call.cpp Make one expected-diag directive match exactly one actual diagnostic. 2009-02-07 19:52:04 +00:00
overloaded-builtin-operators.cpp Add the proper restrictions on the left-hand argument of a built-in 2009-01-13 00:52:54 +00:00
overloaded-operator-decl.cpp Don't print canonical types in overloading-related diagnostics 2008-11-21 02:54:28 +00:00
overloaded-operator.cpp Bring operator name lookup (as required for C++ operator overloading) 2009-02-04 16:44:47 +00:00
qualification-conversion.cpp Initial implementation of argument dependent lookup (a.k.a. ADL, 2009-02-04 00:32:51 +00:00
qualified-id-lookup.cpp Diagnose attempts to define a namespace member out-of-line when no 2009-02-06 17:46:57 +00:00
references.cpp Removed the warning 2008-12-17 16:19:15 +00:00
reinterpret-cast.cpp Add handling of member pointers to reinterpret_cast. 2009-01-27 23:18:31 +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
statements.cpp This is valid in C++. 2008-12-18 02:03:48 +00:00
static-cast.cpp Implement pointer to member handling in static_cast. 2009-01-28 18:33:18 +00:00
static-initializers.cpp Initial sema support for C++ static initializers. 2008-08-22 05:00:02 +00:00
template-specialization.cpp Ultrasimplistic sketch for the parsing of C++ template-ids. This won't 2008-12-18 19:37:40 +00:00
this.cpp Move the C++ Sema tests into a separate SemaCXX directory. 2008-08-16 20:53:59 +00:00
try-catch.cpp Make one expected-diag directive match exactly one actual diagnostic. 2009-02-07 19:52:04 +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
type-dependent-exprs.cpp Fix our semantic analysis of 2009-02-04 15:01:18 +00:00
type-traits.cpp PODness and Type Traits 2009-01-05 20:52:13 +00:00
typedef-redecl.cpp Complete semantic checking for typedef redeclarations in C++. The 2009-01-28 17:15:10 +00:00
typeid.cpp Implement C++ 'typeid' parsing and sema. 2008-11-11 11:37:55 +00:00
user-defined-conversions.cpp Steve set me straight on this one. GCC was right, EDG was wrong: the 2009-02-02 22:11:10 +00:00
using-directive.cpp Make the test cases failing due to exact diagnostic matching XFAIL. 2009-02-08 10:28:44 +00:00
vararg-non-pod.cpp Use a single function for doing vararg argument promotion. Also, make sure to do the promotion before checking the type - fixes PR3340. 2009-01-16 16:48:51 +00:00
virtuals.cpp Very basic support for pure virtual functions. 2009-01-09 19:57:06 +00:00
warn-for-var-in-else.cpp Added a warning when referencing an if's condition variable in the 2008-12-10 23:01:14 +00:00
wchar_t.cpp Type::isIntegerType() returns true for types between Bool and LongLong. 2008-08-17 13:24:01 +00:00