hanchenye-llvm-project/clang/test/SemaCXX
Chandler Carruth 139e96216a Reapply r107235, this time with both my typo fixed, and a logical bug fixed.
Previously we relied on the presence of a member which needs no initialization
to prevent us from creating an additional initialization of the outer anonymous
union field. We have already correctly marked that field as initialized by the
member of the union (repeatedly due to the original bug this patch fixes) so we
simply need to bail out.

llvm-svn: 107242
2010-06-30 02:59:29 +00:00
..
Inputs Work around an annoying, non-standard optimization in the glibc 2010-02-12 07:32:17 +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
PR6562.cpp Fix PR6562. If a type is dependent, we don't know if it will have implicit 2010-03-13 18:12:56 +00:00
PR6618.cpp Fix PR6618. 2010-03-21 22:56:43 +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 Fix the build. Using declarations should not be considering when looking 2010-06-16 09:33:39 +00:00
access-base-class.cpp When we complain about a member being inaccessible due to a constraint 2010-05-28 04:34:55 +00:00
access-control-check.cpp Turn access control on by default in -cc1. 2010-04-09 19:03:51 +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 Use the naming class from the overloaded lookup when access-checking an 2010-04-22 18:44:12 +00:00
address-of-temporary.cpp Introduce a new kind of failed result for isLvalue/isModifiableLvalue 2010-02-16 21:39:57 +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 Introduce Type::isStructureOrClassType(), which does the obvious 2010-04-26 21:31:17 +00:00
alignof-sizeof-reference.cpp Complain about sizeof(overloaded function) rather than crashing. 2010-05-23 19:43:23 +00:00
ambig-user-defined-conversions.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 Propagate access specifiers to anonymous union members nested within classes. 2010-05-21 20:45:30 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
attr-deprecated.cpp Diagnose deprecated/unavailable functions selected by overload resolution. 2010-05-06 18:15:07 +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-regparm.cpp Merge the "regparm" attribute from a previous declaration of a 2010-06-18 21:30:25 +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
attr-weakref.cpp Add support for the weakref attribute. We still produce "alias weak" as llvm-gcc does, but are more strict on what uses of weakref we accept. 2010-02-23 22:00:30 +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
bitfield-layout.cpp More work on wide bit-fields, WIP. 2010-04-16 15:57:11 +00:00
blocks-1.cpp Fixed a crash specific to blocks in c++ uncovered by an internal 2010-02-18 20:31:02 +00:00
blocks.cpp Support implicitly closing on 'this' in a block. Fixed PR7165. 2010-05-20 01:18:31 +00:00
bool.cpp Initialization improvements: addition of string initialization and a few 2009-12-19 08:11:05 +00:00
builtin-exception-spec.cpp Work around an annoying, non-standard optimization in the glibc 2010-02-12 07:32:17 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 In C++, allow builtins to be referred to via qualified name lookup, e.g., 2010-02-12 05:48:04 +00:00
c99-variable-length-array.cpp Don't complain about VLAs of non-POD types when the array type is 2010-05-24 20:42:30 +00:00
c99.cpp Implement support for variable length arrays in C++. VLAs are limited 2010-05-22 16:17:30 +00:00
cast-conversion.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 Diagnose more cases of initializing distinct members of an anonymous union 2010-04-10 09:28:51 +00:00
class-layout.cpp Turn on the new empty base subobject tracking code. It's a bit faster than the previous code. However, it still has quadratic performance, something which I intend to fix shortly in a subsequent patch. 2010-05-30 06:52:33 +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 When parsing cached C++ method declarations/definitions, save the 2010-06-16 23:45:56 +00:00
comma.cpp Implement the lvalue-to-rvalue conversion where needed. The 2010-02-03 00:27:59 +00:00
compare.cpp Update equality and relationship comparisons of pointers to reflect 2010-06-15 21:38:40 +00:00
complex-overload.cpp Add a new conversion rank to classify conversions between complex and scalar 2010-02-25 07:20:54 +00:00
composite-pointer-type.cpp When computing the composite pointer type for relational comparisons, 2010-02-25 22:29:57 +00:00
condition.cpp Pretty-print anonymous types using their kind and presumed location. 2010-03-19 07:56:44 +00:00
conditional-expr.cpp When a conditional operator is an rvalue of class type, we need to 2010-05-19 23:40:50 +00:00
const-cast.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
constant-expression.cpp If a switch condition is constant, don't warn about missing enum cases. 2010-05-18 03:19:21 +00:00
constructor-initializer.cpp Reapply r107235, this time with both my typo fixed, and a logical bug fixed. 2010-06-30 02:59:29 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
conversion-function.cpp When we are performing copy initialization of a class type via its 2010-04-24 20:54:38 +00:00
convert-to-bool.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +00:00
copy-constructor-error.cpp Add test case from PR6064, which now works 2010-03-02 18:48:07 +00:00
copy-initialization.cpp Do not consider explicit constructors when performing a copy to a 2010-04-18 02:16:12 +00:00
cstyle-cast.cpp Turn access control on by default in -cc1. 2010-04-09 19:03:51 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
decl-expr-ambiguity.cpp Improve the unused-value check to look into comma expressions and filter out 2010-03-12 07:11:26 +00:00
decl-init-ref.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 When we emit an error during the implicit definition of a special 2010-05-12 16:39:35 +00:00
default-constructor-initializers.cpp Change the 'declared at' diagnostic to say 'declared here'. 2010-04-23 02:20:12 +00:00
default1.cpp Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
default2.cpp Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
deleted-function.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 Improve diagnostics when we fail to convert from a source type to a 2010-04-09 00:35:39 +00:00
destructor.cpp Do not mark the destructor of a function parameter's type. Fixes PR6709. 2010-03-26 06:57:13 +00:00
direct-initializer.cpp Turn access control on by default in -cc1. 2010-04-09 19:03:51 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
elaborated-type-specifier.cpp Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
empty-class-layout.cpp Correctly handle fields with virtual bases containing empty subobjects. 2010-06-08 19:09:24 +00:00
enum.cpp In C++, allow a declaration of an enum to follow a definition of that 2010-06-22 14:26:35 +00:00
exception-spec-no-exceptions.cpp Disable exception-spec compatibility checking under -fno-exceptions. 2010-05-28 08:37:35 +00:00
exception-spec.cpp When a declaration of a function is missing an exception specification 2010-03-24 07:14:45 +00:00
exceptions.cpp Audit uses of Sema::LookupSingleName for those lookups that are 2010-04-15 23:40:53 +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
flexible-array-test.cpp Improve on flexible array diagnostics (PR7029). 2010-05-26 20:46: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 When referring to a tag that was previously declared only as a friend, 2010-06-08 21:27:36 +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 Turn access control on by default in -cc1. 2010-04-09 19:03:51 +00:00
i-c-e-cxx.cpp If a switch condition is constant, don't warn about missing enum cases. 2010-05-18 03:19:21 +00:00
illegal-member-initialization.cpp Change the 'declared at' diagnostic to say 'declared here'. 2010-04-23 02:20:12 +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 Allow classes to befriend implicitly-declared members. Fixes PR6207 for 2010-04-13 07:45:41 +00:00
implicit-virtual-member-functions.cpp Rework when and how vtables are emitted, by tracking where vtables are 2010-05-13 16:44:06 +00:00
inc-decrement-qualifiers.cpp Ensure that cv-qualifiers are correctly removed for post-inc/decrements 2010-04-28 23:02:27 +00:00
incomplete-call.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
inherit.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
init-priority-attr.cpp More Sema Check and a test case for init_priority attr. 2010-06-18 23:14:53 +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-instantiated-field-decl.cpp Don't attempt to poke into an invalid field's class type 2010-05-17 18:15:18 +00:00
invalid-member-expr.cpp Fix PR6327: restore invariants when there's a parse error in an initializer. 2010-03-31 02:13:20 +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 Introduce an egregious hack to work around a bug in libstdc++ 4.2.x's 2010-04-08 18:16:15 +00:00
libstdcxx_map_base_hack.cpp Introduce an egregious hack to work around a bug in libstdc++ 4.2.x's 2010-04-08 18:16:15 +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
local-classes.cpp It's okay to refer to non-type template parameters anywhere they are 2010-04-27 21:10:04 +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 When typo correction produces a result that is not of the kind we're 2010-06-29 19:27:42 +00:00
member-location.cpp Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
member-name-lookup.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 Use CanQualType to enforce the use of a canonical type argument to 2010-05-21 20:29:55 +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-header.cpp Once we've emitted a fatal diagnostic, keep counting errors but with a 2010-04-14 22:19:45 +00:00
missing-members.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 add PCH support for a bunch of C++ Decls, patch by 2010-05-07 21:43:38 +00:00
namespace.cpp Make sure to properly track the anonymous namespace that lives inside 2010-03-24 00:46:35 +00:00
nested-name-spec.cpp Make sure to search semantic scopes and appropriate template-parameter 2010-05-14 04:53:42 +00:00
new-array-size-conv.cpp Implement C++ DR299, which allows an implicit conversion from a class 2010-06-30 00:20:43 +00:00
new-delete-predefined-decl-2.cpp When performing name lookup for the allocation or deallocation 2010-03-24 05:07:21 +00:00
new-delete-predefined-decl.cpp Improve a test slightly 2010-02-12 06:08:51 +00:00
new-delete.cpp Implement C++ DR299, which allows an implicit conversion from a class 2010-06-30 00:20:43 +00:00
no-exceptions.cpp Restore r101841 without modification. Also mark 'operator delete' as used for 2010-04-20 02:18:25 +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 Implement support for variable length arrays in C++. VLAs are limited 2010-05-22 16:17:30 +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 String literals enclosed in parentheses are still string 2010-06-22 23:47:37 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 Add an option -fshow-overloads=best|all to limit the number of overload 2010-06-11 05:57:47 +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 Warn about comparisons between arrays and improve self-comparison 2010-06-08 19:50:34 +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 Allow pseudo-destructors to be called on qualified pointers. Patch by 2010-06-11 17:36:40 +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 Improve the diagnostic you get when making a qualified member access 2010-04-27 01:43:38 +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 When parsing a cast-expression that starts with a scope annotation, 2010-04-23 02:08:13 +00:00
qualified-names-diag.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 Whenever we complain about a failed initialization of a function or 2010-04-22 00:20:18 +00:00
references.cpp Teach ASTContext::getUnqualifiedArrayType() how to look through 2010-05-17 18:45:21 +00:00
reinterpret-cast.cpp When deciding whether reinterpret_cast casts away constness we need to look at array qualifiers. Fixes rdar://problem/8018292. 2010-06-04 22:47:55 +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-noreturn.cpp Add a hack to silence warnings about failing to return from functions after 2010-05-17 23:51:52 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
scope-check.cpp When checking scopes for indirect goto, be more permissive (but still safe) 2010-05-12 00:58:13 +00:00
statements.cpp In C++98/03, an uninitialized variable that has POD class type will be 2010-03-08 02:45:10 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
static-cast-complete-type.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
static-cast.cpp Turn access control on by default in -cc1. 2010-04-09 19:03:51 +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
storage-class.cpp When checking whether to diagnose an initialized "extern" variable, 2010-04-22 14:36:26 +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 If a switch condition is constant, don't warn about missing enum cases. 2010-05-18 03:19:21 +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 Warn about the deprecated string literal -> char* conversion. Fixes PR6428. 2010-02-28 18:30:25 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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 When checking the redeclaration context of a typedef that refers to a 2010-04-27 16:26:47 +00:00
typeid-ref.cpp Improve source-location information in a C++ typeid (type) expression 2010-04-26 22:37:10 +00:00
typeid.cpp Improve source-location information in a C++ typeid (type) expression 2010-04-26 22:37:10 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +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-functions.cpp Remove all "used" static functions *after* we have performed all of 2010-04-09 17:41:13 +00:00
unused.cpp Improve the test for unused-expression warnings slightly 2010-01-16 18:17:21 +00:00
user-defined-conversions.cpp Improve our handling of user-defined conversions as part of overload 2010-04-17 22:01:05 +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 When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
using-directive.cpp Allow a using directive to refer to the implicitly-defined namespace 2010-06-29 17:53:46 +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 Change the 'declared at' diagnostic to say 'declared here'. 2010-04-23 02:20:12 +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 really use valist. 2010-05-16 05:00:34 +00:00
vector-casts.cpp When pretty-printing tag types, only print the tag if we're in C (and 2010-03-10 11:27:22 +00:00
vector.cpp Don't allow vector conversions to sneak in under the guise of 2010-06-22 16:52:27 +00:00
virtual-member-functions-key-function.cpp Rework when and how vtables are emitted, by tracking where vtables are 2010-05-13 16:44:06 +00:00
virtual-override.cpp Turn access control on by default in -cc1. 2010-04-09 19:03:51 +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 When diagnosing suspicious precedence or assignments, move the fix-it 2010-04-14 16:09:52 +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 Add test case for <rdar://problem/7880658>. 2010-05-13 06:58:45 +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 Fix a crasher in constructor-initializer reordering warnings (PR7179). 2010-05-20 23:49:34 +00:00
warn-self-comparisons.cpp Warn about comparisons between arrays and improve self-comparison 2010-06-08 19:50:34 +00:00
warn-shadow.cpp Implement -Wshadow for parameter declarations as well. 2010-03-20 04:12:52 +00:00
warn-sign-compare.cpp Promote enum types during -Wsign-compare. Fixes some spurious warnings, 2010-03-19 18:53:26 +00:00
warn-unreachable.cpp tests: Use %clangxx when using driver for C++, in case C++ support is disabled. 2010-06-29 16:52:24 +00:00
warn-unused-parameters.cpp Do not diagnose unused-parameter errors in template instantiations. We 2010-04-19 23:56:20 +00:00
warn-unused-value.cpp Improve the unused-value check to look into comma expressions and filter out 2010-03-12 07:11:26 +00:00
warn-unused-variables.cpp Don't look into incomplete types when trying to warn about unused 2010-04-27 16:20:13 +00:00
warn-weak-vtables.cpp Rework when and how vtables are emitted, by tracking where vtables are 2010-05-13 16:44:06 +00:00
warn_false_to_pointer.cpp Implement a warning when converting the literal 'false' to a 2010-06-08 17:35:15 +00:00
wchar_t.cpp Remove a dead argument to ProcessUCNEscape. 2010-06-15 18:06:43 +00:00