clang-1/test/SemaCXX
Eli Friedman d87de7bdbc Make -Wtautological-constant-out-of-range-compare behave sanely for enums with a signed fixed type.
<rdar://problem/12780159>.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169051 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-30 23:09:29 +00:00
..
Inputs Don't warn on use of default allocator with an over-aligned type when the 2012-02-04 03:30:14 +00:00
2008-01-11-BadWarning.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
MicrosoftCompatibility-cxx98.cpp Shift Microsoft enum extensions from -fms-extensions to -fms-compatibility, so -fms-extensions doesn't affect enum semantics in incompatible ways. <rdar://problem/10657186>. 2012-02-16 05:20:44 +00:00
MicrosoftCompatibility.cpp Allow the parser to recover gracefully if a typename is used to introduce a decltype type. 2012-07-22 15:10:57 +00:00
MicrosoftCompatibilityNoExceptions.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
MicrosoftExtensions.cpp Change diagnostics for enums with fixed underlying type so in C++98 mode, we cite C++11. 2012-11-02 01:34:28 +00:00
PR5086-ambig-resolution-enum.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR6562.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR6618.cpp Fix PR6618. 2010-03-21 22:56:43 +00:00
PR7410.cpp Fix for PR7410. Allow functions in a derived class that improperly overwrite a virtual function in the base class to be inserted into the derived class function list to prevent extra errors every time the derived class is used. 2011-07-01 20:02:53 +00:00
PR7944.cpp Catch placeholder types in DefaultLvalueConversion 2011-10-11 23:14:30 +00:00
PR8012.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
PR8385.cpp Add a test case for PR8385. 2012-03-13 23:33:06 +00:00
PR8755.cpp Enhance the diagnostic for referring to a typedef with an elaborated name to be 2011-01-24 19:01:04 +00:00
PR8884.cpp Fix PR8884 by skipping transparent contexts. The test is for LikageSpec. I 2011-01-20 02:26:24 +00:00
PR9459.cpp PR10359: Template declarations which define classes are not permitted to also contain declarators. Previously we would accept code like this: 2011-07-14 21:35:26 +00:00
PR9460.cpp Get rid of an early return in Sema::ActOnFields which doesn't make sense anymore. 2012-08-08 04:39:56 +00:00
PR9461.cpp Improve diagnostics a bit for bad member initializers, and fix an obscure bug involving packs. Fixes PR12049. 2012-02-22 04:49:04 +00:00
PR9572.cpp Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +00:00
PR9884.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR9902.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR9908.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR10177.cpp Unlike in C++03, a constant-expression is not an unevaluated operand in C++11. 2011-12-20 02:08:33 +00:00
PR10243.cpp Fold the six functions checking explicitly-defaulted special member functions 2012-05-15 04:39:51 +00:00
PR10447.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
PR10458.cpp Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +00:00
PR11358.cpp With a little more work in the tentative parse determining whether a statement 2012-01-25 01:19:14 +00:00
PR12481.cpp Test for r154189/PR12481 2012-04-06 18:47:27 +00:00
__null.cpp Reapply r152745 (reverted in 152765) now that compiler-rt is fixed. 2012-03-15 04:50:32 +00:00
__try.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
abstract.cpp Detecting illegal instantiations of abstract types when using a function-style cast. Fixed PR12658. 2012-05-07 00:02:00 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
addr-of-overloaded-function-casting.cpp Handle the resolution of a reference to a function template (which 2011-02-19 21:32:49 +00:00
addr-of-overloaded-function.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
address-of-temporary.cpp Add a warning for when an array-to-pointer decay is performed on an array 2012-06-04 22:27:30 +00:00
address-of.cpp Only allow taking the address of an expression of type 'overloaded 2011-10-09 19:10:41 +00:00
address-space-conversion.cpp Implement appropriate semantics for C++ casting and conversion when 2011-04-15 17:59:54 +00:00
address-space-newdelete.cpp Forbid the use of C++ new/delete to allocate/free objects within an 2011-04-15 19:46:20 +00:00
address-space-references.cpp When determining whether two types are reference-compatible, check 2011-04-28 17:56:11 +00:00
aggregate-initialization.cpp List-initialization via constructor part 1. Still needs: pretty-printing, overloading, initializer_list. 2011-12-22 14:44:04 +00:00
alias-template.cpp PR12647: An alias template instantiation which occurs in a SFINAE context is 2012-04-26 07:24:08 +00:00
alignof-sizeof-reference.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
altivec.cpp Stop AltiVec parsing from going down the 'implicit int' codepath as part of its 2012-05-09 18:56:43 +00:00
ambig-user-defined-conversions.cpp De-Unicode-ify. 2011-08-12 05:49:51 +00:00
ambiguous-builtin-unary-operator.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
ambiguous-conversion-show-overload.cpp Fix a bug I found while preparing my devmtg talk: When passing NULL to a 2012-11-08 20:50:02 +00:00
anonymous-struct.cpp Don't provide errors for anonymous unions when they're actually anonymous classes. 2011-10-19 22:43:29 +00:00
anonymous-union-cxx11.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
anonymous-union.cpp Ignore const/volatile/restrict qualifiers on anonymous structs and 2011-05-09 23:05:33 +00:00
array-bound-merge.cpp Reject 'int a[1][];' in Sema rather than crashing in IR generation. Found by a 2012-07-07 23:00:31 +00:00
array-bounds-ptr-arith.cpp Add -Wstring-plus-int, which warns on "str" + int and int + "str". 2012-03-02 22:01:22 +00:00
array-bounds-system-header.cpp Suppress -Warray-bounds in certain cases involving macros from system headers. 2011-12-12 22:35:02 +00:00
array-bounds.cpp Fix a couple bugs in the way we handle array indexes in array bounds checking. Specifically, make sure we don't ignore explicit casts in indexes, and make sure we use unsigned extension/comparisons on indexes. Fixes <rdar://problem/10916006>. 2012-02-27 21:21:40 +00:00
arrow-operator.cpp Add an error message with fixit hint for changing '.' to '->'. 2012-04-25 19:49:54 +00:00
ast-print.cpp Don't print scope qualifiers for references to a type defined locally in a function. Patch by Grzegorz Jablonski. 2012-10-24 20:21:25 +00:00
atomic-type.cxx Compute standard conversion sequences for conversions to atomic 2012-04-12 17:51:55 +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 Remove a non-gcc-compatible extension that would apply attributes on declarations without a declarator to structs. Add a warning for ignored attributes. Patch by Michael Han. 2011-12-17 00:36:09 +00:00
attr-declspec-ignored.cpp Remove some extraneous carriage returns from these files. One of the 2011-12-20 01:45:15 +00:00
attr-deprecated.cpp Unify the codepaths for emitting deprecation warnings. The test changes are just to account for us emitting notes more consistently. 2012-08-08 21:52:41 +00:00
attr-format.cpp Make sure we perform the variadic method check correctly for calls to a member operator(). PR14057. 2012-10-11 00:30:58 +00:00
attr-nodebug.cpp Add a test showing that nodebug is accepted in methods too. Patch by 2012-10-24 18:34:26 +00:00
attr-nonnull.cpp Apply the nonnull attribute to constructor expressions too. 2011-03-25 01:44:32 +00:00
attr-noreturn.cpp When we substitute into the type of a function based on the 2012-09-13 21:56:43 +00:00
attr-regparm.cpp Start fixing up clang tests to work on the clang-native-arm-cortex-a9 builder. 2011-06-06 21:23:05 +00:00
attr-sentinel.cpp Add a bunch of missing calls to DiagnoseSentinelCalls. <rdar://problem/10885993>. 2012-02-18 04:48:30 +00:00
attr-unavailable.cpp Allow unavailable function calls inside unavailable functions in C++/ObjC++ as well. rdar://9660196 2011-06-23 00:41:50 +00:00
attr-unused.cpp Add missing test from r163874. 2012-09-14 16:38:59 +00:00
attr-visibility.cpp Ignore visibility attributes after definitions. This matches newer (4.7) gcc's 2012-07-12 04:32:30 +00:00
attr-weak.cpp When checking the 'weak' and 'weakref' attributes, look for non-external 2011-02-08 22:35:49 +00:00
attr-weakref.cpp When checking the 'weak' and 'weakref' attributes, look for non-external 2011-02-08 22:35:49 +00:00
auto-cxx0x.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
auto-cxx98.cpp Make the -Wc++11-compat warnings ignored by default, so we don't break 2011-10-25 03:07:45 +00:00
auto-subst-failure.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
bitfield-layout.cpp More work on wide bit-fields, WIP. 2010-04-16 15:57:11 +00:00
block-call.cpp Implement objective-c++'s block pointer type matching involving 2011-02-12 19:07:46 +00:00
blocks-1.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
blocks.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
bool.cpp Improve some of the conversion warnings to fire on conversion to bool. 2012-05-15 16:56:36 +00:00
borland-extensions.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
builtin-exception-spec.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
builtin-ptrtomember-ambig.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
builtin-ptrtomember-overload-1.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
builtin-ptrtomember-overload.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
builtin_objc_msgSend.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
builtins-arm.cpp Fix __builtin_va_arg assertion failure in ARM AAPCS. 2012-10-20 06:11:33 +00:00
builtins-va_arg.cpp Fix __builtin_va_arg assertion failure in ARM AAPCS. 2012-10-20 06:11:33 +00:00
builtins.cpp Change the representation of builtin functions in the AST 2012-08-31 00:14:07 +00:00
c99-variable-length-array.cpp Misc improvements to the diagnostic when a variable is odr-used in a context that is not allowed to capture variables. 2012-02-07 00:15:00 +00:00
c99.cpp Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +00:00
cast-conversion.cpp Implement GCC's -Wint-to-pointer-cast. 2012-10-16 18:53:14 +00:00
cast-explicit-ctor.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
class-base-member-init.cpp Support decltype in member initializers. 2012-01-24 06:03:59 +00:00
class-layout.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +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 Promote the warning about extra qualification on a declaration from a 2012-09-13 20:16:20 +00:00
comma.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
compare.cpp Make -Wtautological-constant-out-of-range-compare behave sanely for enums with a signed fixed type. 2012-11-30 23:09:29 +00:00
complex-init-list.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
complex-overload.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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 Improvements to vexing-parse warnings. Make the no-parameters case more 2012-07-30 21:30:52 +00:00
conditional-expr.cpp Fix PR13784: instantiation of an abstract class in a conditional operator. 2012-09-10 22:05:41 +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-cxx11.cpp PR11851 (and duplicates): Whenever a constexpr function is referenced, 2012-11-07 01:14:25 +00:00
constant-expression.cpp Change the wording of the extension warning from 2012-09-24 18:19:21 +00:00
constexpr-ackermann.cpp Constant expression evaluation: support for constexpr member functions. This 2011-11-11 04:05:33 +00:00
constexpr-backtrace-limit.cpp C++11 generalized constant expressions: implement checking and diagnostics for 2012-01-06 16:39:00 +00:00
constexpr-depth.cpp constexpr handling improvements. Produce detailed diagnostics when a 'constexpr' 2011-12-19 06:19:21 +00:00
constexpr-factorial.cpp Don't recurse so deep in this test, pending APValue rework to further reduce the 2011-11-11 07:10:32 +00:00
constexpr-many-arguments.cpp Use std::map instead of llvm::DenseMap because we rely on the stability of references to values in these maps. PR13197. 2012-06-25 21:21:08 +00:00
constexpr-nqueens.cpp Test cleanup: prefer static_assert to handmade alternative. 2012-02-10 10:55:13 +00:00
constexpr-printing.cpp Add triples to these tests to keep them working on Windows, 2012-04-05 00:54:51 +00:00
constexpr-strlen.cpp A call to strlen is not a constant expression, even if we're treating it as a 2012-01-18 03:06:12 +00:00
constexpr-turing.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
constexpr-value-init.cpp PR12012: Fix a regression in r150419 where we would try (and fail) to 2012-02-17 00:44:16 +00:00
constructor-initializer.cpp Teach the uninitialized field warning about anonymous structs and union members. 2012-11-15 08:19:20 +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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
conversion-function.cpp A conversion operator in a base class shouldn't hide another conversion operator 2012-05-06 00:04:32 +00:00
conversion.cpp PR13165: False positive when initializing member data pointers with NULL. 2012-06-21 18:51:10 +00:00
convert-to-bool.cpp Warn about self-initialization of references. 2012-08-17 10:12:33 +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 When we see 'Class(X' or 'Class::Class(X' and we suspect that it names a 2012-03-27 00:56:56 +00:00
copy-constructor-error.cpp C++ core issue 1344, PR10618: promote "addition of default argument makes this 2012-11-28 03:45:24 +00:00
copy-initialization.cpp Implement core issue 5: a temporary created for copy-initialization has a 2012-02-11 19:22:50 +00:00
crash-lambda-12645424.cpp In ExpressionEvaluationContextRecord manage LambdaMangle with a shared 2012-11-14 19:16:13 +00:00
crashes.cpp Fix an incorrect assert, the LHS can be an LValue. 2012-11-01 14:32:20 +00:00
cstyle-cast.cpp clang/test: [PR8833] Introduce the feature "LP64" to suppress LLP64-incompatible tests. 2012-09-12 10:45:40 +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
cxx0x-class.cpp Bugfix: bogus warning -- "invalid use of non-static data member", 2012-02-25 00:11:55 +00:00
cxx0x-compat.cpp Implement C++11 [lex.ext]p10 for string and character literals: a ud-suffix not 2012-03-08 02:39:21 +00:00
cxx0x-constexpr-const.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx0x-cursory-default-delete.cpp Explicitly defaulted constructors cannot be used for default initialization. 2012-07-31 22:40:31 +00:00
cxx0x-defaulted-functions.cpp PR13527: don't assert if a function is explicitly defaulted when it's already 2012-08-06 02:25:10 +00:00
cxx0x-delegating-ctors.cpp When diagnosing multiple mem-initializers in a delegating ctor, point to the delegating initializer, not to the first initializer. For good measure, also highlight the other initializer. 2012-09-14 18:21:10 +00:00
cxx0x-deleted-default-ctor.cpp Finish PR10217: Ensure we say that a special member was implicitly, not 2012-04-02 20:59:25 +00:00
cxx0x-initializer-aggregates.cpp PR12670: Support for initializing an array of non-aggregate class type from an 2012-07-07 08:35:56 +00:00
cxx0x-initializer-constructor.cpp As we do with base and member initializers in a dependent class, delay 2012-09-14 04:20:37 +00:00
cxx0x-initializer-references.cpp PR12660: Don't crash when initializing a const reference from a braced init list 2012-04-26 03:16:45 +00:00
cxx0x-initializer-scalars.cpp Parse brace initializers as default arguments. PR12236. 2012-03-14 15:54:00 +00:00
cxx0x-initializer-stdinitializerlist.cpp Fix assertion failure with auto and nested initializer list; PR14272. 2012-11-06 23:56:42 +00:00
cxx0x-nontrivial-union.cpp Add a pile of tests for unrestricted unions, and advertise support for them. 2012-03-03 23:51:05 +00:00
cxx0x-return-init-list.cpp Doug's review comments. 2012-02-22 17:38:04 +00:00
cxx0x-type-convert-construct.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
cxx11-ast-print.cpp Fix statement printing for raw and template user-defined literals. 2012-03-09 10:10:02 +00:00
cxx11-crashes.cpp When determining whether to try evaluating the initializer of a variable, check 2012-10-28 06:18:02 +00:00
cxx11-user-defined-literals.cpp Literal operator suffixes and regular names live in separate namespaces. 2012-03-09 08:37:16 +00:00
cxx98-compat-flags.cpp PR10217: Provide diagnostics explaining why an implicitly-deleted special 2012-03-30 20:53:28 +00:00
cxx98-compat-pedantic.cpp Change the wording of the extension warning from 2012-09-24 18:19:21 +00:00
cxx98-compat.cpp Teach Clang parser to reject C++11 attributes that appertain to declaration specifiers. 2012-11-06 19:34:54 +00:00
dcl_ambig_res.cpp clang/test/SemaCXX/dcl_ambig_res.cpp: [PR13819] It requires LP64 for now due to __SIZE_TYPE__. 2012-09-12 10:45:46 +00:00
dcl_init_aggr.cpp PR12670: Support for initializing an array of non-aggregate class type from an 2012-07-07 08:35:56 +00:00
decl-expr-ambiguity.cpp Implement GCC's -Wint-to-pointer-cast. 2012-10-16 18:53:14 +00:00
decl-init-ref.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
decltype-98.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
decltype-crash.cpp Make the -Wc++11-compat warnings ignored by default, so we don't break 2011-10-25 03:07:45 +00:00
decltype-overloaded-functions.cpp Unrevert r166268, reverted in r166272, with a fix for the issue which Nick 2012-10-21 03:28:35 +00:00
decltype-pr4444.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
decltype-pr4448.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
decltype-this.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
decltype.cpp PR12713 - crash on invalid due to unmatched parens in decltype 2012-11-07 19:08:05 +00:00
default-argument-temporaries.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +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 Implement some tests for defaulted constructors. To do this I had to 2011-05-17 00:19:05 +00:00
default1.cpp Further improvement to wording of overload resolution diagnostics, and including 2012-05-15 06:21:54 +00:00
default2.cpp Improve diagnostics for invalid use of non-static members / this: 2012-04-05 01:13:04 +00:00
defaulted-ctor-loop.cpp Make warnings about uninitialized fields include the field name. 2012-09-21 08:58:33 +00:00
defaulted-private-dtor.cpp PR10217: Provide diagnostics explaining why an implicitly-deleted special 2012-03-30 20:53:28 +00:00
delete.cpp Fix a test case where FileCheck is used to test code corrected by -fixit. 2011-10-13 23:26:59 +00:00
deleted-function.cpp Fix rejects-valid: explicit specialization of redeclared deleted function template. 2012-07-16 18:50:45 +00:00
deleted-operator.cpp PR12964: __int128 and unsigned __int128 are promoted integral types, be sure to 2012-06-10 08:00:26 +00:00
dependent-auto.cpp Tweak the fix to PR8977: an empty expression-list represents value initialization, not default initialization. Fixes PR11712. 2012-01-05 22:34:08 +00:00
dependent-noexcept-unevaluated.cpp Disable our non-standard delayed parsing of exception specifications. Delaying 2012-05-02 01:29:43 +00:00
dependent-types.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 PR11684, core issue 1417: 2012-02-10 11:05:11 +00:00
direct-initializer.cpp 'const std::type_info*' instead of 'std::type_info const*' 2010-09-05 00:17:29 +00:00
discrim-union.cpp Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164766 2012-09-27 10:16:10 +00:00
do-while-scope.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
dr1301.cpp Finish PR10217: Ensure we say that a special member was implicitly, not 2012-04-02 20:59:25 +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 Allow CorrectTypo to add/modify nested name qualifiers to typos that 2012-06-06 20:54:51 +00:00
empty-class-layout.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
enum-bitfield.cpp In C++11 mode, when an integral constant expression is desired and we have a 2012-02-04 09:53:13 +00:00
enum-scoped.cpp Relaxed enumeration constant naming rules for scoped enumerators so they no longer emit a diagnostic when the enumeration's name matches that of the class. Fixes PR13128. 2012-07-19 03:12:23 +00:00
enum-unscoped-nonexistent.cpp Add a special-case diagnostic for one of the more obnoxious special cases of 2012-03-26 20:28:16 +00:00
enum.cpp Pedantic diagnostic correction: in C++, we have integral constant expressions, 2012-01-15 03:51:30 +00:00
exception-spec-no-exceptions.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
exceptions.cpp Per C++11 [except.spec]p2, rvalue references are not permitted in exception specifications. 2012-11-28 22:52:42 +00:00
explicit.cpp Update regression tests for r166617. 2012-10-24 20:28:18 +00:00
expression-traits.cpp Fixed plausible overloads location. 2011-11-15 21:43:28 +00:00
expressions.cpp Improve some of the conversion warnings to fire on conversion to bool. 2012-05-15 16:56:36 +00:00
flexible-array-test.cpp g++ is more permissive regarding flexible arrays. 2011-03-07 20:04:04 +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
for-range-dereference.cpp If the range in a for range statement doesn't have a viable begin/end function, 2012-09-20 21:52:32 +00:00
for-range-examples.cpp Fix test better way. 2012-09-19 16:20:17 +00:00
for-range-no-std.cpp Better diagnostics for range-based for loops with bad range types. 2012-08-21 00:52:01 +00:00
for-range-unused.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
format-strings-0x.cpp PR13099: Teach -Wformat about raw string literals, UTF-8 strings and Unicode escape sequences. 2012-06-13 05:37:23 +00:00
format-strings.cpp -Wformat: Don't check format strings in uninstantiated templates. 2012-10-02 01:49:54 +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-out-of-line.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
friend.cpp Skip through transparent contexts when deciding where to add a friend function. 2012-03-16 19:51:19 +00:00
function-extern-c.cpp Tweak warning text for returning incomplete type from extern "C" functions. 2012-07-24 17:59:41 +00:00
function-overload-typo-crash.cpp Have the typo correction in DiagnoseEmptyLookup properly handle template 2011-08-05 00:09:52 +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 Ignore corrections to functions with bodies when deciding which 2012-06-07 23:57:08 +00:00
function-type-qual.cpp PR14171: Don't crash if we hit one of the paths where GetFullTypeForDeclarator 2012-10-24 23:51:56 +00:00
functional-cast.cpp clang/test: [PR8833] Introduce the feature "LP64" to suppress LLP64-incompatible tests. 2012-09-12 10:45:40 +00:00
generic-selection.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
gnu-case-ranges.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
goto.cpp When we're flagging a protected scope to prevent jumps into the 2012-04-13 01:08:17 +00:00
goto2.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
i-c-e-cxx.cpp In C++11 mode, when an integral constant expression is desired and we have a 2012-02-04 09:53:13 +00:00
illegal-member-initialization.cpp Change the 'declared at' diagnostic to say 'declared here'. 2010-04-23 02:20:12 +00:00
implicit-exception-spec.cpp PR11851 (and duplicates): Whenever a constexpr function is referenced, 2012-11-07 01:14:25 +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 The declaration of a special member can require overload resolution to be 2012-11-29 01:34:07 +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 Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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
indirect-goto.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +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 Pretty up the wrong-number-of-arguments-for-attribute diagnostic by 2011-03-02 12:15:05 +00:00
inline.cpp Remove -Winternal-linkage-in-inline in C++. 2012-06-20 18:50:06 +00:00
instantiate-blocks.cpp Move block return type inference diagnostic to a common place where 2011-12-03 23:53:56 +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 Add test case for rdar://11293995 2012-04-27 04:31:46 +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
issue547.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
lambda-expressions.cpp Update regression tests for r166617. 2012-10-24 20:28:18 +00:00
libstdcxx_atomic_ns_hack.cpp Egriegious hack to support libstdc++4.6's broken <atomic> header, which defines 2012-10-04 22:13:39 +00:00
libstdcxx_common_type_hack.cpp Ugly ugly hack for libstdc++-4.6 and libstdc++-4.7 compatibility. These 2012-10-23 00:32:41 +00:00
libstdcxx_is_pod_hack.cpp Extend the "__is_pod" hack, which demotes various type trait keywords 2012-08-30 20:04:43 +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 Push "out-of-line" declarations into scope when their lexical/semantic 2011-10-09 22:57:49 +00:00
linkage.cpp Change linkage computation so it doesn't depend on FunctionDecl::isExternC or VarDecl::isExternC, and instead queries what it actually cares about: whether the given declaration is inside an extern "C" context. Fundamentally, figuring out whether a function/variable uses C linkage requires knowing the linkage, and the logic in FunctionDecl::isExternC and VarDecl::isExternC was getting it wrong. Given that, fix FunctionDecl::isExternC and VarDecl::isExternC to use much simpler implementations that depend on the fixed linkage computation. 2012-01-15 01:23:58 +00:00
literal-operators.cpp Fix crash if a literal operator template's template parameter pack is not a non-type template parameter pack. Patch by Andy Gibbs! 2012-08-03 21:14:57 +00:00
literal-type.cpp Update constexpr implementation to match CWG's chosen approach for core issues 2012-02-13 03:54:03 +00:00
local-classes.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
long-virtual-inheritance-chain.cpp PR12962: Fix a rare use after free when collecting virtual overrides. 2012-05-27 22:41:08 +00:00
lookup-member.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-class-11.cpp When we run into a constructor or destructor that is defined in the 2011-11-01 22:13:30 +00:00
member-expr-anonymous-union.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-expr-static.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-expr.cpp Per [basic.lookup.classref]p3, in an expression of the form p->~type-name, the 2012-11-15 00:31:27 +00:00
member-init.cpp Final piece of core issue 1330: delay computing the exception specification of 2012-07-27 04:22:15 +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 No longer assuming the number of prototype arguments is always less than the number of formal parameters for a variadic function call. 2012-07-20 20:40:35 +00:00
member-pointer-ms.cpp Revert r163078 per chandlerc's request. 2012-09-04 17:18:12 +00:00
member-pointer-size.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
member-pointer.cpp Teach the ARC compiler to not require __bridge casts when 2011-10-17 18:40:02 +00:00
member-pointers-2.cpp Allow function calls to dereferenced member pointers of 2011-03-16 17:42:23 +00:00
microsoft-cxx0x.cpp PR13433: In Microsoft mode, don't require function calls within decltype 2012-07-28 19:54:11 +00:00
missing-header.cpp [ms-inline asm] As part of a larger refactoring, rename AsmStmt to GCCAsmStmt. 2012-08-25 00:11:56 +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
missing-namespace-qualifier-typo-corrections.cpp Fix parsing of type-specifier-seq's. Types are syntactically allowed to be 2012-03-12 07:56:15 +00:00
ms-exception-spec.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
ms-interface.cpp Add the Microsoft __is_interface_class type trait. 2012-09-25 07:32:49 +00:00
namespace-alias.cpp Point the caret at the error for the 'expected namespace name' diagnostic in 2012-04-05 23:13:23 +00:00
namespace.cpp Make sure to properly track the anonymous namespace that lives inside 2010-03-24 00:46:35 +00:00
neon-vector-types.cpp When a builtin that requires a constant is given a type- or 2012-06-29 01:05:22 +00:00
nested-name-spec-locations.cpp Eliminate redundant nested-name-specifiers on 2011-03-03 17:04:51 +00:00
nested-name-spec.cpp Promote the warning about extra qualification on a declaration from a 2012-09-13 20:16:20 +00:00
new-array-size-conv.cpp Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +00:00
new-delete-0x.cpp Update test FIXME: The '[]' in 'delete []' is never part of a lambda. 2012-10-17 06:45:09 +00:00
new-delete-cxx0x.cpp Proper checking of list-initializers for array new expressions. 2012-02-16 12:59:47 +00:00
new-delete-predefined-decl-2.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
new-delete-predefined-decl.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
new-delete.cpp Disambiguation of '[[': 2012-04-10 01:32:12 +00:00
no-exceptions.cpp Disallow try/catch/throw when exceptions are disabled. 2011-02-19 19:26:44 +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
no-rtti.cpp Error when using typeid() with -fno-rtti. PR 12888. 2012-05-20 01:27:21 +00:00
no-warn-composite-pointer-type.cpp Update test case. 2012-10-30 05:28:33 +00:00
no-wchar.cpp Fixed support for disabled wchar_t and added an appropriate test. 2012-09-09 10:13:32 +00:00
non-empty-class-size-zero.cpp Turn test for // rdar://8945175 into a sema test. 2011-02-02 21:10:07 +00:00
null_in_arithmetic_ops.cpp PR14284: crash on ext-valid returning NULL from a void function 2012-11-08 00:41:20 +00:00
nullptr-98.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
nullptr.cpp Implement final piece of DR963 and also DR587: 2012-08-08 06:13:49 +00:00
nullptr_in_arithmetic_ops.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
offsetof-0x.cpp C++11 weakens the requirement for types used with offsetof from POD to standard layout type. 2012-04-28 11:14:51 +00:00
offsetof.cpp Perform lvalue-to-rvalue conversions on __builtin_offsetof array argument index 2011-10-17 23:29:39 +00:00
operator-arrow-temporary.cpp PR9615: make sure we destroy any temporaries returned by operator->. 2011-04-04 01:18:25 +00:00
out-of-line-def-mismatch.cpp Match type names and give more info for out-of-line function definition errors. 2011-08-04 17:40:00 +00:00
overload-0x.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +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 DR1152 / PR12931 / PR6177: A candidate function which requires binding a const 2012-05-24 04:29:20 +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 Further improvement to wording of overload resolution diagnostics, and including 2012-05-15 06:21:54 +00:00
overload-value-dep-arg.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
overloaded-builtin-operators-0x.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
overloaded-builtin-operators.cpp Reject uses of __int128 on platforms that don't support it. Also move the ugly 2012-11-29 05:41:51 +00:00
overloaded-name.cpp Teach the ARC compiler to not require __bridge casts when 2011-10-17 18:40:02 +00:00
overloaded-operator-decl.cpp Don't crash on calling static member overloaded operator, PR14120 2012-11-09 06:06:14 +00:00
overloaded-operator.cpp Correctly resolve an overload set passed to an overloaded operator=. PR11784. 2012-01-17 21:27:43 +00:00
pascal-strings.cpp In C++, when initializing an array from a pascal string, it's OK if the array 2011-04-14 00:41:11 +00:00
pr13353.cpp Handle the case where the base type is not dependent, but the derived one is. 2012-07-17 20:24:05 +00:00
pr13394-crash-on-invalid.cpp Fix PR13394: Erasing from a vector changes the end of the vector, so make sure we always have the right end. 2012-07-27 10:21:08 +00:00
pragma-pack.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
pragma-unused.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
pragma-visibility.cpp Merge existing attributes before processing pragmas in friend template 2012-08-22 14:52:14 +00:00
prefetch-enum.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
primary-base.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
printf-block.cpp For varargs, diagnose passing ObjC objects by value like other non-POD types. 2012-07-19 18:10:23 +00:00
printf-cstr.cpp For varargs, diagnose passing ObjC objects by value like other non-POD types. 2012-07-19 18:10:23 +00:00
pseudo-destructors.cpp Per [basic.lookup.classref]p3, in an expression of the form p->~type-name, the 2012-11-15 00:31:27 +00:00
ptrtomember-overload-resolution.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
ptrtomember.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
qual-id-test.cpp PR12500: Improve the wording of the diagnostic for a redefinition of a name 2012-04-13 04:07:40 +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 Allow CorrectTypo to add/modify nested name qualifiers to typos that 2012-06-06 20:54:51 +00:00
qualified-member-enum.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +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
redeclared-alias-template.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
redeclared-auto.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
ref-init-ambiguous.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
references.cpp Better wording for reference self-initialization warning. 2012-08-20 08:52:22 +00:00
reinterpret-cast.cpp Add a warning to diagnose statements in C++ like "*(volatile int*)x;". Conceptually, this is part of -Wunused-value, but I added a separate flag -Wunused-volatile-lvalue so it doesn't get turned off by accident with -Wno-unused-value. I also made a few minor improvements to existing unused value warnings in the process. <rdar://problem/11516811>. 2012-05-24 00:47:05 +00:00
reinterpret-fn-obj-pedantic.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
return-noreturn.cpp Reword/rename -Wswitch-unreachable-default. 2012-01-24 05:34:08 +00:00
return-stack-addr.cpp Remove a type that got reduced away from this test case but not actually deleted. 2010-12-13 08:01:53 +00:00
return.cpp Move test/Sema/return.cpp into test/SemaCXX/return.cpp 2011-06-30 17:20:18 +00:00
runtimediag-ppe.cpp Fix a couple issues where we didn't correctly delay diagnostics in PotentiallyPotentiallyEvaluated contexts. In preparation for making sizeof() PotentiallyPotentiallyEvaluated. 2012-01-18 01:05:54 +00:00
rval-references-examples.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
rval-references.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
scope-check.cpp Correctly reject gotos in function-level try blocks. PR14225. 2012-10-31 23:55:28 +00:00
shift.cpp Simplify messages as requested by Chris. 2011-02-24 17:13:15 +00:00
short-enums.cpp fix PR9474, a crash with -fshort-enum and C++ templates: when instantiating 2011-04-25 20:37:58 +00:00
short-wchar-sign.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
sourceranges.cpp Use ElaboratedType also for C. 2011-03-16 20:16:18 +00:00
statements.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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 Stop instantiating a class if we hit a static_assert failure. Also, if the 2012-07-11 22:37:56 +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 Implement appropriate semantics for C++ casting and conversion when 2011-04-15 17:59:54 +00:00
static-initializers.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
storage-class.cpp Don't warn about the 'extern' in 'extern "C"' on a tag decl. This is 2011-03-26 02:09:52 +00:00
string-plus-int.cpp Add a test for the -Wstring-plus-int fixit note. 2012-03-02 23:01:20 +00:00
struct-class-redecl.cpp Made changes to how 'struct'/'class' mismatches are handled in -Wmismatched-tags. 2011-06-10 03:11:26 +00:00
switch-0x.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
switch-implicit-fallthrough-cxx98.cpp Per discussion on cfe-dev, re-enable suppression of -Wimplicit-fallthrough on C, but also include dialects of C++ earlier than C++11. 2012-11-12 21:20:48 +00:00
switch-implicit-fallthrough-macro.cpp Compatibility macro detection for the -Wimplicit-fallthrough diagnostic. 2012-09-28 22:24:03 +00:00
switch-implicit-fallthrough-per-method.cpp Improve C++11 attribute parsing. 2012-10-03 01:56:22 +00:00
switch-implicit-fallthrough.cpp Added test with sizeof conditions (relies on to-be-implemented functionality of CFG, discussion: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120507/057370.html) 2012-06-20 21:12:23 +00:00
switch.cpp Reject continue/break statements within members of local functions nested within 2012-02-17 01:35:32 +00:00
tag-ambig.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +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 Improve diagnostics for invalid use of non-static members / this: 2012-04-05 01:13:04 +00:00
trailing-return-0x.cpp Fix crash when a decltype expression in a trailing return type refers to the 2012-09-25 04:46:05 +00:00
trivial-constructor.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
trivial-destructor.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
type-convert-construct.cpp This patch makes the string/character literal tests run in C, 2011-07-29 01:08:54 +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 Don't produce "comparison is always (true|false)" warnings when the 2011-02-19 22:34:59 +00:00
type-formatting.cpp When printing a qualified type, look through a substituted template 2011-02-17 06:52:25 +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 Make __is_convertible_to handle abstract types correctly. PR13591. 2012-08-14 02:06:07 +00:00
typedef-redecl.cpp Delay checking of typedefs of dependent types. Fixes PR11630. 2011-12-26 22:42:47 +00:00
typeid-ref.cpp Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr. 2011-01-24 00:46:19 +00:00
typeid.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +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
typo-correction.cpp When adding a NamedDecl to a correction, add the underlying Decl (via 2012-11-19 18:49:53 +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
undefined-internal.cpp Make sure template argument deduction is consistently performed in an unevaluated context. 2012-02-08 03:07:05 +00:00
underlying_type.cpp Properly handle non-canonical underlying types in 2012-03-05 16:02:06 +00:00
uninit-variables-conditional.cpp Show either a location or a fixit note, not both, for uninitialized variable warnings. 2011-09-10 05:35:08 +00:00
uninit-variables.cpp -Wuninitialized: Split the classification of DeclRefExprs as initialization or 2012-07-17 00:06:14 +00:00
uninitialized.cpp Change how the SelfReferenceChecker handles MemberExpr. Instead of treating 2012-10-03 00:41:36 +00:00
unknown-anytype-blocks.cpp Extended the UnknownAnyTy resolver to handle 2012-03-06 21:34:12 +00:00
unknown-anytype.cpp Teach the ARC compiler to not require __bridge casts when 2011-10-17 18:40:02 +00:00
unknown-type-name.cpp PR41111, PR5925, PR13210: Teach tentative parsing to annotate identifiers and 2012-08-18 00:55:03 +00:00
unreachable-catch-clauses.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
unreachable-code.cpp Add -fcxx-exceptions to all tests that use C++ exceptions. 2011-02-28 00:40:07 +00:00
unused-functions.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
unused-with-error.cpp If there were errors, disable 'unused' warnings since they will mostly be noise. 2011-01-31 07:04:37 +00:00
unused.cpp Fix -Wunused-value to not warn on expressions that have unresolved lookups due 2012-10-23 06:15:26 +00:00
user-defined-conversions.cpp Improve the error message when a function overload candidate is rejected 2012-06-19 00:37:47 +00:00
using-decl-1.cpp When checking a using declaration, make sure that the context we're 2010-12-21 07:41:49 +00:00
using-decl-pr4441.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
using-decl-pr4450.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
using-decl-templates.cpp Fix Sema::CorrectTypo to ignore found but unresolved symbols 2011-09-07 20:25:59 +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 Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
value-initialization.cpp PR10217: Provide diagnostics explaining why an implicitly-deleted special 2012-03-30 20:53:28 +00:00
vararg-default-arg.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
vararg-non-pod.cpp Make sure we perform the variadic method check correctly for calls to a member operator(). PR14057. 2012-10-11 00:30:58 +00:00
vector-casts.cpp Provide overload diagnostics when explicit casts involving class types fail. 2011-02-14 18:34:10 +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 Allow vector types in pseudo-destructor expressions. Fixes PR13798. 2012-09-10 14:57:06 +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 Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
virtuals.cpp Updating the test case based on previous patch 2012-05-07 01:10:33 +00:00
vla.cpp PR11925: A function can't have a variably-modified return type. Not even in C++. 2012-03-13 05:56:40 +00:00
vtable-instantiation.cc Whenever we instantiate a static data member, make sure to define any new 2011-05-31 07:58:42 +00:00
warn-assignment-condition.cpp Unrevert r166268, reverted in r166272, with a fix for the issue which Nick 2012-10-21 03:28:35 +00:00
warn-bad-memaccess.cpp Improve the correctness and accuracy of the message for -Wdynamic-class-memaccess 2011-08-19 20:40:18 +00:00
warn-bool-conversion.cpp Modify how the -verify flag works. Currently, the verification string and 2011-12-15 00:38:15 +00:00
warn-c++11-extensions.cpp More tests for r164545 (change extension warning about 'long long'). 2012-09-24 21:09:05 +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-dangling-field.cpp Teach -Wdangling-field to warn about temporaries bound to references as 2011-09-03 02:21:57 +00:00
warn-deprecated-header.cpp Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
warn-empty-body.cpp Generalize -Wempty-body: warn when statement body is empty (closes: PR11329) 2012-02-14 22:14:32 +00:00
warn-enum-compare.cpp Improvements to my patch in r164143 per 2012-09-20 19:36:41 +00:00
warn-everthing.cpp Fix tests that weren't actually verifying anything. 2012-04-15 22:09:44 +00:00
warn-exit-time-destructors.cpp Add a new warning for exit-time destructors. 2011-03-24 01:01:41 +00:00
warn-func-as-bool.cpp Add notes for suppressing and (if it's a zero-arg function returning bool) fixing the function-to-bool conversion warning. 2011-12-09 21:42:37 +00:00
warn-global-constructors.cpp PR9669: implement correct checking for [dcl.init.string]p2. 2011-04-11 00:23:45 +00:00
warn-implicit-conversion-floating-point-to-bool.cpp Warn about suspicious implicit conversions from floating point to bool 2012-08-28 15:44:30 +00:00
warn-large-by-value-copy.cpp Don't crash with -Wlarge-by-value-copy and a dependent type. PR11726. 2012-01-09 23:46:59 +00:00
warn-literal-conversion.cpp Improve some of the conversion warnings to fire on conversion to bool. 2012-05-15 16:56:36 +00:00
warn-loop-analysis.cpp Skip checking for infinite for-loops if there are global or static variables 2012-05-04 03:01:54 +00:00
warn-memset-bad-sizeof.cpp Change wording of 'memcpy' type mismatch warning and remove fixit. 2012-05-30 23:14:52 +00:00
warn-missing-noreturn.cpp Don't suggest 'noreturn' for function template instantiations, because 2011-10-10 18:15:57 +00:00
warn-missing-prototypes.cpp Apply Jonathan Sauer's proposed solution to PR9519. Thanks! 2011-03-22 07:16:37 +00:00
warn-missing-variable-declarations.cpp Add an additional test for namespaces and -Wmissing-variable-declarations. Move C++ test into SemaCXX. 2012-10-24 20:14:09 +00:00
warn-new-overaligned-2.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
warn-new-overaligned-3.cpp Don't warn on use of default allocator with an over-aligned type when the 2012-02-04 03:30:14 +00:00
warn-new-overaligned.cpp Force triple on these tests to pacify the windows tester. 2012-01-24 21:28:47 +00:00
warn-overloaded-virtual.cpp Handle diamond inheritance in -Woverloaded-virtual. 2012-10-19 00:53:08 +00:00
warn-pure-virtual-call-from-ctor-dtor.cpp Fix missing braces around two statements that were intended to be part 2011-06-27 08:31:58 +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-assign.cpp Implement -Wself-assign, which warns on code such as: 2011-01-04 06:52:15 +00:00
warn-self-comparisons.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
warn-shadow.cpp 'extern' variables in functions don't shadow externs in global scope. Fixes rdar://8883302, this time for C++ as well. 2011-04-25 21:39:50 +00:00
warn-sign-conversion.cpp Fix a test in warn-sign-conversion.cpp. Removed a part of a directory path so that the directory seperator, which may change on different platforms, is no longer part of the string checked for. 2011-07-21 03:20:52 +00:00
warn-static-function-inheader.cpp patch to suggest 'static' function should be 'static inline' 2012-06-27 19:43:29 +00:00
warn-static-function-inheader.h patch to suggest 'static' function should be 'static inline' 2012-06-27 19:43:29 +00:00
warn-string-conversion.cpp Move string literal to bool conversion into its own warning flag -Wstring-conversion. 2011-09-26 22:38:21 +00:00
warn-thread-safety-analysis.cpp Thread-safety analysis: support multiple thread-safety attributes on 2012-10-12 21:38:12 +00:00
warn-thread-safety-parsing.cpp Thread safety analysis: Fixed ICE caused by double delete when late parsed 2012-11-02 21:44:32 +00:00
warn-unreachable.cpp Revert various template unreachability code I committed accidentally. 2012-01-24 04:51:48 +00:00
warn-unused-comparison.cpp Don't analyze comparisons in type- or value-dependent 2011-10-10 17:38:18 +00:00
warn-unused-filescoped.cpp Provide the correct mangling and linkage for certain unnamed nested classes. 2012-11-14 01:52:05 +00:00
warn-unused-parameters.cpp Fix the isReferenced bit on parameters in a couple of edge cases. PR12153. 2012-03-01 21:32:56 +00:00
warn-unused-private-field.cpp -Wunused-private-fields: Don't try to check unresolved initializer expressions 2012-08-07 21:30:42 +00:00
warn-unused-result.cpp For classes that have the warn_unused_result attribute, don't apply the 2012-11-13 21:23:31 +00:00
warn-unused-value.cpp Add a warning to diagnose statements in C++ like "*(volatile int*)x;". Conceptually, this is part of -Wunused-value, but I added a separate flag -Wunused-volatile-lvalue so it doesn't get turned off by accident with -Wno-unused-value. I also made a few minor improvements to existing unused value warnings in the process. <rdar://problem/11516811>. 2012-05-24 00:47:05 +00:00
warn-unused-variables.cpp Fix false positive in -Wunused-variable when a ctor call make involve cleanups. 2012-10-24 21:29:06 +00:00
warn-using-namespace-in-header.cpp Delete comment I forgot to delete in my last change. 2012-11-05 22:50:26 +00:00
warn-variable-not-needed.cpp Add a basic testcase for the "variable is not needed" warning and one that 2012-11-25 14:00:51 +00:00
warn-weak-vtables.cpp Provide a separate warning for weak vtables in explicit template instantiations. There's no (current) way to fix such templates to emit strong symbols/vtables, but perhaps users want to know about the cost being incurred anyway. 2011-12-09 18:32:50 +00:00
wchar_t.cpp Remove a dead argument to ProcessUCNEscape. 2010-06-15 18:06:43 +00:00
writable-strings-deprecated.cpp GCC overloads -Wwrite-strings just to make it extra confusing. While it 2011-04-23 06:54:44 +00:00
zero-length-arrays.cpp Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00