clang/test/SemaCXX
Douglas Gregor 60c93c9981 Migrate the mish-mash of declaration checks in
Sema::ActOnUninitializedDecl over to InitializationSequence (with
default initialization), eliminating redundancy. More importantly, we
now check that a const definition in C++ has an initilizer, which was
an #if 0'd code for many, many months. A few other tweaks were needed
to get everything working again:

  - Fix all of the places in the testsuite where we defined const
    objects without initializers (now that we diagnose this issue)
  - Teach instantiation of static data members to find the previous
    declaration, so that we build proper redeclaration
    chains. Previously, we had the redeclaration chain but built it
    too late to be useful, because...
  - Teach instantiation of static data member definitions not to try
    to check an initializer if a previous declaration already had an
    initializer. This makes sure that we don't complain about static
    const data members with in-class initializers and out-of-line
    definitions.
  - Move all of the incomplete-type checking logic out of
    Sema::FinalizeDeclaratorGroup; it makes more sense in
    ActOnUnitializedDecl.

There may still be a few places where we can improve these
diagnostics. I'll address that as a separate commit.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95657 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-09 07:26:29 +00:00
..
PR5086-ambig-resolution-enum.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
__null.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
abstract.cpp Correctly calcluate abstract-ness in the case where an implicitly declared 2009-12-16 20:00:27 +00:00
access-base-class.cpp Initialization improvements: addition of string initialization and a few 2009-12-19 08:11:05 +00:00
access-control-check.cpp Implement elementary access control. 2010-01-23 00:46:32 +00:00
access.cpp Set a member's access specifier even if it doesn't match the previous specifier. 2009-12-23 00:37:40 +00:00
addr-of-overloaded-function.cpp Switch file-scope assignment initialization over to InitializationSequence. 2009-12-22 02:10:53 +00:00
address-of.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
aggregate-initialization.cpp Use new initialization code when dealing with [dcl.init.aggr]p12. This fixes the bug where array elements and member initializers weren't copied correctly. 2010-01-24 00:19:41 +00:00
alignof-sizeof-reference.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ambig-user-defined-conversions.cpp Introduce a specific representation for the ambiguous implicit conversion 2010-01-12 00:44:57 +00:00
ambiguous-builtin-unary-operator.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
anonymous-union.cpp Patch fixes a lookup bug in c++'s anonymous union member 2010-01-22 18:30:17 +00:00
array-bound-merge.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
arrow-operator.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-after-definition.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-cxx0x.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-deprecated.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-format.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-noreturn.cpp allow the noreturn attribute to be used in class methods 2009-12-23 23:40:33 +00:00
attr-sentinel.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
attr-unavailable.cpp Change the printing of OR_Deleted overload results to print all the candidates, 2010-01-08 04:41:39 +00:00
auto-cxx0x.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
auto-cxx98.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
blocks.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bool.cpp Initialization improvements: addition of string initialization and a few 2009-12-19 08:11:05 +00:00
builtin-ptrtomember-ambig.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
builtin-ptrtomember-overload-1.cpp Introduce a specific representation for the ambiguous implicit conversion 2010-01-12 00:44:57 +00:00
builtin-ptrtomember-overload.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
builtins.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
c99.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
cast-conversion.cpp Migrate the mish-mash of declaration checks in 2010-02-09 07:26:29 +00:00
cast-explicit-ctor.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-base-member-init.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-layout.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-names.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
comma.cpp Implement the lvalue-to-rvalue conversion where needed. The 2010-02-03 00:27:59 +00:00
compare.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
complex-overload.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
composite-pointer-type.cpp Add test case from PR5763 2010-01-11 21:58:49 +00:00
condition.cpp Improve the reporting of non-viable overload candidates by noting the reason 2010-01-13 00:25:19 +00:00
conditional-expr.cpp Chris thinks these diagnostics are better now. :) 2010-01-12 01:09:12 +00:00
const-cast.cpp Fix support for const_cast<>s of array types which actual change the 2009-12-29 08:05:19 +00:00
constant-expression.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
constructor-initializer.cpp Rework base and member initialization in constructors, with several 2010-01-31 09:12:51 +00:00
constructor-recovery.cpp Switch default-initialization of variables of class type (or array thereof) over to InitializationSequence. I could swear that this fixes a PR somewhere, but I couldn't figure out which one 2009-12-20 22:01:25 +00:00
constructor.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
conversion-delete-expr.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
conversion-function.cpp Improve the diagnostics used to report implicitly-generated class members 2010-01-06 09:43:14 +00:00
convert-to-bool.cpp Initialization improvements: addition of string initialization and a few 2009-12-19 08:11:05 +00:00
converting-constructor.cpp Improve the reporting of non-viable overload candidates by noting the reason 2010-01-13 00:25:19 +00:00
copy-assignment.cpp Rework base and member initialization in constructors, with several 2010-01-31 09:12:51 +00:00
copy-constructor-error.cpp Switch Sema::AddCXXDirectInitializerToDecl over to InitializationSequence 2009-12-22 22:17:25 +00:00
copy-initialization.cpp Improve the diagnostics used to report implicitly-generated class members 2010-01-06 09:43:14 +00:00
cstyle-cast.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
cxx-member-pointer-op.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
dcl_ambig_res.cpp Migrate the mish-mash of declaration checks in 2010-02-09 07:26:29 +00:00
dcl_init_aggr.cpp Use the new init code for member subobjects. 2010-01-23 20:20:40 +00:00
decl-expr-ambiguity.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
decl-init-ref.cpp Fix PR number in test case 2010-02-09 01:02:53 +00:00
decltype-crash.cpp Introduce a centralized routine in Sema for diagnosing failed lookups (when 2009-12-16 08:11:27 +00:00
decltype-overloaded-functions.cpp When a template-id refers to a single function template, and the 2009-12-21 23:17:24 +00:00
decltype-pr4444.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
decltype-pr4448.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
decltype-this.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
default-argument-temporaries.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
default-assignment-operator.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
default-constructor-initializers.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
default1.cpp Switch default arguments over to InitializationSequence. 2009-12-22 02:46:13 +00:00
default2.cpp Improve the diagnostics used to report implicitly-generated class members 2010-01-06 09:43:14 +00:00
deleted-function.cpp Switch default-initialization of variables of class type (or array thereof) over to InitializationSequence. I could swear that this fixes a PR somewhere, but I couldn't figure out which one 2009-12-20 22:01:25 +00:00
dependent-types.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
derived-to-base-ambig.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
destructor.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
direct-initializer.cpp Improve the reporting of non-viable overload candidates by noting the reason 2010-01-13 00:25:19 +00:00
do-while-scope.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
dynamic-cast.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
elaborated-type-specifier.cpp Switch initialization of parameters in a call over to 2009-12-22 07:24:36 +00:00
empty-class-layout.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
enum.cpp Implement the lvalue-to-rvalue conversion where needed. The 2010-02-03 00:27:59 +00:00
exception-spec.cpp Initialization improvements: addition of string initialization and a few 2009-12-19 08:11:05 +00:00
exceptions.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
explicit.cpp Fix a pretty bad bug where if a constructor (or conversion function) was marked as 'explicit', but then defined out-of-line, we would not treat it as being explicit. 2010-01-24 17:15:04 +00:00
expressions.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
fntype-decl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
format-attribute.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
friend-class-nodecl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
friend.cpp Test case for PR5134. 2009-12-23 01:09:14 +00:00
function-overloaded-redecl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
function-redecl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
function-type-qual.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
functional-cast.cpp Improve the reporting of non-viable overload candidates by noting the reason 2010-01-13 00:25:19 +00:00
i-c-e-cxx.cpp Per discussion, remove the explicit restriction on static const data members with 2010-02-06 01:07:37 +00:00
illegal-member-initialization.cpp Rework base and member initialization in constructors, with several 2010-01-31 09:12:51 +00:00
implicit-int.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
implicit-member-functions.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
implicit-virtual-member-functions.cpp Make our marking of virtual members functions in a class be 2010-01-06 04:44:19 +00:00
incomplete-call.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
inherit.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
inline.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
invalid-member-expr.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
invalid-template-specifier.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
libstdcxx_is_pod_hack.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
linkage-spec.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
literal-operators.cpp Implement semantic checking for C++ literal operators. 2010-01-13 09:01:02 +00:00
literal-type.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-expr-anonymous-union.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-expr-static.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-expr.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-location.cpp Switch initialization of parameters in a call over to 2009-12-22 07:24:36 +00:00
member-name-lookup.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-operator-expr.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-pointer-size.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
member-pointer.cpp Make Clang complain about taking the address of an unqualified member function. Fixes PR5985. 2010-01-11 15:56:56 +00:00
member-pointers-2.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
missing-members.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ms-exception-spec.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
namespace-alias.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
namespace.cpp Improve the reporting of non-viable overload candidates by noting the reason 2010-01-13 00:25:19 +00:00
nested-name-spec.cpp Fix the crash-on-invalid from PR6259. 2010-02-08 19:26:07 +00:00
new-delete-predefined-decl.cpp Teach the allocation function overload handling to deal with templates, and 2010-02-03 11:02:14 +00:00
new-delete.cpp Ensure that a operator delete overload is rocognized regardless of cv-quals. 2010-02-08 18:54:05 +00:00
no-implicit-builtin-decls.cpp Introduce a centralized routine in Sema for diagnosing failed lookups (when 2009-12-16 08:11:27 +00:00
nullptr.cpp Initialization improvements: addition of string initialization and a few 2009-12-19 08:11:05 +00:00
offsetof.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
overload-call-copycon.cpp Fix a major oversight in the comparison of standard conversion 2010-01-27 03:51:04 +00:00
overload-call.cpp Fix a major oversight in the comparison of standard conversion 2010-01-27 03:51:04 +00:00
overload-decl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
overload-member-call.cpp Rework base and member initialization in constructors, with several 2010-01-31 09:12:51 +00:00
overload-value-dep-arg.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
overloaded-builtin-operators.cpp Improve the reporting of non-viable overload candidates by noting the reason 2010-01-13 00:25:19 +00:00
overloaded-operator-decl.cpp A function declarator with a non-identifier name in an anonymous class 2010-02-05 06:12:42 +00:00
overloaded-operator.cpp Rework base and member initialization in constructors, with several 2010-01-31 09:12:51 +00:00
prefetch-enum.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
primary-base.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
pseudo-destructors.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ptrtomember-badcall.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ptrtomember-overload-resolution.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
qual-id-test.cpp Just push a new scope when parsing an out-of-line variable definition. 2009-12-19 09:28:58 +00:00
qualification-conversion.cpp Correctly refer to element CVR qualifications when determining if a type is 2009-12-29 07:16:59 +00:00
qualified-id-lookup.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
qualified-names-diag.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
qualified-names-print.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ref-init-ambiguous.cpp Switch the initialization required by return statements over to the 2009-12-18 05:02:21 +00:00
references.cpp Diagnose binding a non-const reference to a vector element. 2010-01-31 17:18:49 +00:00
reinterpret-cast.cpp Implement the lvalue-to-rvalue conversion where needed. The 2010-02-03 00:27:59 +00:00
reinterpret-fn-obj-pedantic.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
return-stack-addr.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
return.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rval-references-xfail.cpp Switch the initialization required by return statements over to the 2009-12-18 05:02:21 +00:00
rval-references.cpp Change the printing of OR_Deleted overload results to print all the candidates, 2010-01-08 04:41:39 +00:00
statements.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-array-member.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-assert.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-cast-complete-type.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
static-cast.cpp Fix my dyslexia. 2010-01-31 11:52:52 +00:00
static-initializers.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
struct-class-redecl.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
switch-0x.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
switch.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
templated-friend-decl.cpp Workaround for friend template instantiation crash in PR5848, from Keir Mierle! 2010-02-07 10:31:35 +00:00
this.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
trivial-constructor.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
trivial-destructor.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
type-convert-construct.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
type-definition-in-specifier.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
type-dependent-exprs.cpp Introduce a centralized routine in Sema for diagnosing failed lookups (when 2009-12-16 08:11:27 +00:00
type-traits-incomplete.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
type-traits.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
typedef-redecl.cpp Typedefs can be redeclared. That seems like something we should record in 2009-12-30 00:31:22 +00:00
typeid.cpp Diagnose the use of incomplete types in C++ typeid expressions 2009-12-23 21:06:06 +00:00
types_compatible_p.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unknown-type-name.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unreachable-catch-clauses.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unreachable-code.cpp Add an unreachable code checker. 2010-01-13 02:59:54 +00:00
unused.cpp Improve the test for unused-expression warnings slightly 2010-01-16 18:17:21 +00:00
user-defined-conversions.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
using-decl-1.cpp Handle redeclarations found by ADL deterministically and reasonably. 2010-01-26 07:16:45 +00:00
using-decl-pr4441.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
using-decl-pr4450.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
using-decl-templates.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
using-directive.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
value-dependent-exprs.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
value-initialization.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
vararg-default-arg.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
vararg-non-pod.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
vector-casts.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
virtual-member-functions-key-function.cpp Make sure that the key-function computation produces the correct 2010-01-06 17:00:51 +00:00
virtual-override.cpp No need to canonicalize the type and use dyn_cast. Also, correctly diagnose trying to override a function returning an lvalue reference with a function overriding an rvalue reference. 2010-01-22 17:37:20 +00:00
virtuals.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
warn-assignment-condition.cpp Improve the fix-its for -Wparentheses to ensure that the fix-it 2010-01-08 00:20:23 +00:00
warn-char-subscripts.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
warn-for-var-in-else.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
warn-missing-noreturn.cpp Don't diagnose missing noreturns for uninstantiated templates. Fixes PR6247. 2010-02-06 05:31:15 +00:00
warn-missing-prototypes.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
warn-reorder-ctor-initialization.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
warn-unreachable.cpp Improve unreachable code warnings with respect to dead member and 2010-01-21 23:15:53 +00:00
warn-unused-variables.cpp support the warn_unused_result in C++ class methods 2009-12-24 00:28:18 +00:00
warn-weak-vtables.cpp Implement a warning diagnostic for weak vtables. Fixes PR6116. 2010-02-06 02:27:10 +00:00
wchar_t.cpp fix PR5917, L'x' was getting the wrong type in c++ mode. Per 2009-12-30 21:19:39 +00:00