llvm-project/clang/test/SemaCXX
Douglas Gregor d1f69f6a1d After parsing a ':' in an enum-specifier within class context,
disambiguate between an expression (for a bit-field width) and a type
(for a fixed underlying type). Since the disambiguation can be
expensive (due to tentative parsing), we perform a simplistic
disambiguation based on one-token lookahead before going into the
full-blown tentative parsing. Based on a patch by Daniel Wallin.

llvm-svn: 120582
2010-12-01 17:42:47 +00:00
..
Inputs Work around an annoying, non-standard optimization in the glibc 2010-02-12 07:32:17 +00:00
MicrosoftExtensions.cpp Microsoft enum extensions. 2 things will change on -fms-extensions: 2010-10-18 15:01:13 +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
PR7944.cpp Report the location of the syntax error inside a macro. Fixes PR7944. 2010-10-15 21:43:24 +00:00
PR8012.cpp Provide an error when a non-identifier name (such as an operator) is used as a 2010-11-03 01:07:06 +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 Flesh out the test cases a little. 2010-08-18 09:58:15 +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-member-pointer.cpp Fix for PR7694: make sure to pass in a RecordType to CheckBaseClassAccess; 2010-07-23 19:25:41 +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-casting.cpp Add missing test case for PR8230 2010-11-08 03:58:01 +00:00
addr-of-overloaded-function.cpp When attempting reference binding to an overloaded function, also 2010-11-08 15:20:28 +00:00
address-of-temporary.cpp Follow through references to catch returned stack addresses, local blocks, label addresses or references to temporaries, e.g: 2010-11-30 22:57:32 +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 Progress. 2010-10-12 02:09:17 +00:00
altivec.cpp comparison of AltiVec vectors now gives bool result (fix for 7533) 2010-11-18 03:19:30 +00:00
ambig-user-defined-conversions.cpp make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
ambiguous-builtin-unary-operator.cpp make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
anonymous-struct.cpp Emit diagnostic error when the field of an anonymous struct is non trivial. 2010-08-16 17:27:08 +00:00
anonymous-union.cpp Fix bogus compiler errors when declaring anonymous union, outside a class, with 2010-09-23 14:26:01 +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 __attribute__((aligned(n))) directly specifies the alignment of a declaration 2010-10-08 18:24:19 +00:00
attr-deprecated.cpp Parse attributes on enumerators and instantiate attributes on enum decls. 2010-10-22 23:36:17 +00:00
attr-format.cpp Fix PR8625 and correctly interpret member-calls to static members when 2010-11-16 08:49:43 +00:00
attr-nonnull.cpp Re-work the handling of implicit 'this' arguments and silly GCC-style attribute 2010-11-16 08:35:43 +00:00
attr-noreturn.cpp Get rid of the "functions declared 'noreturn' should have a 'void' result type" warning. 2010-09-03 00:25:02 +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 Upgrade "'X' is unavailable" from a warning to an error. This matches GCC's behavior. Note that 2010-07-21 20:43:11 +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 Allow C-style casts and reinterpret_casts between block pointers and 2010-07-08 20:27:32 +00:00
blocks.cpp Truncate block variable of bool type to i1 when its 2010-09-03 23:07:53 +00:00
bool.cpp Add a warning to catch a bug recently caught by code review, like this: 2010-07-13 19:41:32 +00:00
borland-extensions.cpp Add support for a few MS extensions supported by the Borland compiler 2010-09-08 22:56:24 +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 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +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
builtin_objc_msgSend.cpp objc_msgSend is not a builtin type in non-objc mode. 2010-11-19 18:16:46 +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 Reject the allocation of variably-modified types in C++ 'new' 2010-10-06 16:00:31 +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 Revert r114316, -Wunused-value enabled by default was intended. 2010-09-19 23:03:35 +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 Better diagnostic for superfluous scope specifier inside a class definition for member functions. + Fixit. 2010-10-01 21:19:28 +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 make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
compound-literal.cpp When building a compound literal, check that the base element of the array is complete. 2010-11-08 19:14:19 +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 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +00:00
const-cast.cpp make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +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 When checking for uninitialized fields in member initializers, special case static variables and enums. Fixes PR8075. 2010-10-06 02:43:25 +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 Diagnose C++ [class.mem]p13-14, where a class member has the same name 2010-10-15 13:21:21 +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 performing overload resolution, only compare the final conversion 2010-09-12 08:07:23 +00:00
conversion.cpp Extend the bitfield-truncation warning to initializations. 2010-11-11 03:21:53 +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 Continue parsing more postfix expressions, even after semantic 2010-09-18 01:28:11 +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 Improve diagnostic for calling non-const method on const object. Fixes rdar://7743000 2010-11-16 08:04:45 +00:00
crashes.cpp When determining which template partial specialization is more specialized, 2010-11-05 23:25:18 +00:00
cstyle-cast.cpp make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
cv-unqual-rvalues.cpp Whenever we're creating an expression that is typically an rvalue 2010-07-13 18:40:04 +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 make clang print types as "const int *" instead of "int const*", 2010-09-05 00:04:01 +00:00
decl-expr-ambiguity.cpp Revert r114316, -Wunused-value enabled by default was intended. 2010-09-19 23:03:35 +00:00
decl-init-ref.cpp 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +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 Progress. 2010-10-12 02:09:17 +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
decltype.cpp Make the "unused result" warning a warning about run-time behavior, so 2010-07-15 18:47:04 +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 Relax the construction of a definition for implicit, trivial default 2010-08-23 07:55:51 +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 Parse default arguments within member functions in source order, from 2010-10-12 16:25:54 +00:00
delete.cpp When applying 'delete' on a pointer-to-array type match GCC and EDG behavior and treat it as 'delete[]'. 2010-09-13 20:15:54 +00:00
deleted-function-extension.cpp Allow the use of C++0x deleted functions as an extension in C++98. 2010-09-24 21:25:25 +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 Tie DefineVTablesUsed() in with recursive function instantiation so that we emit 2010-11-25 00:35:20 +00:00
direct-initializer.cpp 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +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 When we run into an error parsing or type-checking the left-hand side 2010-09-17 22:25:06 +00:00
empty-class-layout.cpp Correctly handle fields with virtual bases containing empty subobjects. 2010-06-08 19:09:24 +00:00
enum-bitfield.cpp After parsing a ':' in an enum-specifier within class context, 2010-12-01 17:42:47 +00:00
enum-scoped.cpp Implement C++0x scoped enumerations, from Daniel Wallin! (and tweaked a 2010-10-08 23:50:27 +00:00
enum.cpp Don't perform integral promotions from an incompletion enumeration 2010-09-12 03:38:25 +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 Emulate (some of) Microsoft's looser semantic checking of exception 2010-08-30 15:04:51 +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 Flesh out test. 2010-10-12 03:38:33 +00:00
flexible-array-test.cpp It's OK for classes to have flexible array elements (but not unions). 2010-09-03 21:53:49 +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
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 Fix bug in r120299 spotted by dgregor. 2010-11-30 04:44:33 +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 Produce an error on encountering a pointer or reference to a qualified function type. Fixes PR7470. 2010-07-12 23:11:43 +00:00
functional-cast.cpp Use the new-initialization code for initializing scalars with a 2010-09-08 21:40:08 +00:00
gnu-case-ranges.cpp Doug's feedback 2010-10-01 22:12:38 +00:00
i-c-e-cxx.cpp Update test for r113128. 2010-09-06 00:30:50 +00:00
if-empty-body.cpp Don't warn for empty 'if' body if there is a macro that expands to nothing, e.g: 2010-11-19 20:54:25 +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 When looking for an entity's Scope, don't consider scopes that can't contain declarations. Fixes PR7594. 2010-07-08 23:07:34 +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
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
increment-decrement.cpp The pre-increment/pre-decrement grammar in C++ differs from that in C, 2010-08-06 14:50:36 +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 remove curly quotes, patch by Dimitry Andric! 2010-09-06 17:52:29 +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
instantiate-blocks.cpp Instantiation of byref variable in 2010-07-09 21:27:28 +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 Make this error less specific but also less likely to cause confusion. Fixes 2010-11-03 17:52:57 +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 Don't complain about a variable within a linkage-specification that is 2010-10-15 01:21:46 +00:00
literal-operators.cpp Revert my user-defined literal commits - r1124{58,60,67} pending 2010-08-30 17:47:05 +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
lookup-member.cpp When doing name lookup for members don't look into global/namespace scope. 2010-10-29 16:12:50 +00:00
member-expr-anonymous-union.cpp A union cannot contain static data members or data members of reference type. 2010-11-07 19:13:55 +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 Don't die when a member access refers to a non-class member via a 2010-07-28 22:27:52 +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 Make this error less specific but also less likely to cause confusion. Fixes 2010-11-03 17:52:57 +00:00
member-pointer-ms.cpp Error out if reinterpret_casting between member pointers of two different 2010-08-16 05:30:44 +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 There is no reason for dereferencing a pointer-to-member to require 2010-10-13 20:41:14 +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 Generalize the checking for qualification of (non-friend) class 2010-10-13 22:19:53 +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 Make this error less specific but also less likely to cause confusion. Fixes 2010-11-03 17:52:57 +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-98.cpp Add __nullptr as a C++0x nullptr literal, available in C++98 2010-11-09 03:43:04 +00:00
nullptr.cpp Don't warn when matching %p to nullptr. 2010-11-06 14:58:53 +00:00
offsetof.cpp PR7769: Fix references to anonymous structs/unions in base classes in 2010-08-05 10:11:36 +00:00
overload-call-copycon.cpp Improve our handling of user-defined conversions when computing 2010-08-11 02:15:33 +00:00
overload-call.cpp Revert the fix for PR8013. 2010-11-09 20:03:54 +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 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +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-0x.cpp Implement the integral promotion rules for the C++0x char16_t and 2010-10-21 18:04:08 +00:00
overloaded-builtin-operators.cpp When producing overload candidates for binary built-in operators, keep 2010-11-03 17:00:07 +00:00
overloaded-name.cpp Attempt to resolve overloaded functions in comma expressions and 2010-11-09 21:07:58 +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 When complaining about ambiguous overload resolution for a unary or 2010-11-13 20:06:38 +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-overload-resolution.cpp Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ptrtomember.cpp Emit error when using a bound member function for something other than calling it. 2010-11-01 18:49:26 +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 Use the new-initialization code for initializing scalars with a 2010-09-08 21:40:08 +00:00
qualified-member-enum.cpp Fix a minor crash bug with constructs like Obj.Class::ENUM_VALUE. 2010-07-27 20:51:02 +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 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +00:00
references.cpp Add another case to the whitelist of cast kinds that can convert to bool. 2010-11-16 00:12:50 +00:00
reinterpret-cast.cpp tests: Use -ffreestanding when including stdint.h, to avoid platform dependencies. 2010-09-07 22:54:28 +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 Update test case, with comment to later investigate the correct behavior. Now the behavior is at least consistent. 2010-08-28 00:19:12 +00:00
return-stack-addr.cpp Enhance return-stack-address check (in Sema) to handle fields that themselves are references. (Fixes PR 7999; fix by Chandler Carruth). 2010-09-02 01:12:13 +00:00
return.cpp Wire up '-Wignored-qualifiers' to the warning on 'const' in 'const int f()'. 2010-07-14 06:36:18 +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 Follow through references to catch returned stack addresses, local blocks, label addresses or references to temporaries, e.g: 2010-11-30 22:57:32 +00:00
scope-check.cpp Implement an indirect-goto optimization for goto *&&lbl and respect this 2010-10-28 08:53:48 +00:00
sourceranges.cpp Remove one I just added, add a more focused test for why the current code is correct. 2010-11-22 13:12:28 +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 Properly diagnose invalid casts to function references. Patch by 2010-11-08 03:40:48 +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 turn down the logical bitwise confusion warning to not warn 2010-07-24 01:10:11 +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
trailing-return-0x.cpp Implement the C++0x "trailing return type" feature, e.g., 2010-10-01 18:44:50 +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 Use the new-initialization code for initializing scalars with a 2010-09-08 21:40:08 +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 Fix an infinite loop, caused by unintended syntax bug (the 'break;' after 'default:' was intended to break out of the while loop). 2010-10-07 21:52:18 +00:00
type-traits-incomplete.cpp Allow (cv) void and incomplete arrays to be passed to the type traits. 2010-09-08 00:48:43 +00:00
type-traits.cpp Centralize the management of CXXRecordDecl::DefinitionData's Empty bit 2010-09-28 20:38:10 +00:00
typedef-redecl.cpp Diagnose typedef of an operator name. Fixes PR7462 2010-07-13 06:37:01 +00:00
typeid-ref.cpp Just disable the hidden-visibility optimization for now by hiding it behind 2010-08-12 23:36:15 +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
unary-real-imag.cpp PR8023: Don't crash on invalid uses of __real__ on class types in C++. 2010-09-05 23:15:52 +00:00
uninitialized.cpp Add test case for <rdar://problem/8610363> (a bogus report of using an uninitialized field). This was 2010-10-30 00:43:15 +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 Explicitly handle CXXExprWithTemporaries during CFG construction by just visiting the subexpression. While we don't do anything intelligent right now, this obviates a bogus -Wunreahable-code warning reported in PR 6130. 2010-08-28 00:19:02 +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 Diagnose attempst to template using declarations and using directives. 2010-11-10 02:40:36 +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 Don't be so eager to replace UsingDecls in a DeclContext's lookup table; 2010-11-04 08:48:52 +00:00
using-directive.cpp Diagnose attempst to template using declarations and using directives. 2010-11-10 02:40:36 +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-no-lax.cpp With lax vector conversions (the default) make sure we convert between two 2010-08-26 00:42:16 +00:00
vector.cpp With lax vector conversions (the default) make sure we convert between two 2010-08-26 00:42:16 +00:00
virtual-base-used.cpp Make this test check a few more cases which didn't work correctly before 2010-08-08 05:07:06 +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 Diagnose when a 'static' member function overrides a virtual function 2010-10-13 22:55:32 +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
vtable-instantiation.cc Tie DefineVTablesUsed() in with recursive function instantiation so that we emit 2010-11-25 00:35:20 +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-cast-align.cpp On second thought, don't warn about reinterpret_casts under -Wcast-align. 2010-08-19 01:19:08 +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-global-constructors.cpp static local variables with destructors don't require a global destructor 2010-09-18 05:25:11 +00:00
warn-large-by-value-copy.cpp -Rename -Wargument-larger-than -> -Wlarge-by-value-copy 2010-11-18 00:20:36 +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 Get rid of the "functions declared 'noreturn' should have a 'void' result type" warning. 2010-09-03 00:25:02 +00:00
warn-unused-filescoped.cpp Rename -Wunused-method -> -Wunused-member-function. 2010-08-17 22:06:44 +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 Make #pragma unused work for static local variables. 2010-11-09 14:57:47 +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 Don't warn with -Wbool-conversions if the user wrote an explicit cast like "(void *)false". 2010-09-28 14:54:11 +00:00
wchar_t.cpp Remove a dead argument to ProcessUCNEscape. 2010-06-15 18:06:43 +00:00