llvm-project/clang/test/SemaCXX
Rafael Espindola 3497069784 Switch to the new MingW ABI.
GCC 4.7 changed the MingW ABI. On the clang side this means that methods now
have the thiscall calling convention by default.

llvm-svn: 197164
2013-12-12 16:07:11 +00:00
..
Inputs Ignore test Inputs globally and remove redundant lit.local.cfg files 2013-11-15 13:37:49 +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 -fms-compatibility: Use C++98 null pointer constant rules 2013-11-12 02:22:34 +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 Parse Microsoft __declspec appearing after class body 2013-11-24 20:24:54 +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
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 Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +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 DR14, DR101, and part of DR1: fix handling of extern "C" declarations in 2013-06-18 20:15:12 +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
PR12778.cpp Avoid getting an argument of allocation function if it does not exist. 2013-09-14 12:00:01 +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 Sema: Don't crash when __try/__except/__finally appears in a template function 2013-10-15 09:30:14 +00:00
abstract.cpp Implement DR257 / fix PR16659: 2013-07-22 02:56:56 +00:00
access-base-class.cpp
access-control-check.cpp
access-member-pointer.cpp
access.cpp When performing a delayed access check, use the surrounding lexical context for 2013-12-11 03:35:27 +00:00
addr-of-overloaded-function-casting.cpp Don't produce duplicate notes if we have deduction failure notes when resolving 2013-08-14 00:00:44 +00:00
addr-of-overloaded-function.cpp Switch to the new MingW ABI. 2013-12-12 16:07:11 +00:00
address-of-temporary.cpp Correctly classify T{} as an array temporary if T is an array of class type with nontrivial destructor. 2013-02-02 02:11:36 +00:00
address-of.cpp PR15132: Replace "address expression must be an lvalue or a function 2013-02-02 02:14:45 +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-initialize.cpp Fix initializer for variables with attribute address_space set. 2013-02-26 21:15: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 Fixed an assertion failure triggered by invalid code. 2013-01-11 14:34:39 +00:00
alignment-of-derived-class.cpp Fix alignment of class derived from empty class. 2013-07-16 00:21:28 +00:00
alignof-sizeof-reference.cpp sizeof(void) etc. should be a hard error in C++. 2013-08-13 22:26:42 +00:00
alignof.cpp Fix alignof computation of large arrays on x86_64. 2013-08-08 19:53:46 +00:00
altivec.cpp Add -Wunsequenced (with compatibility alias -Wsequence-point) to warn on 2013-01-17 01:17:56 +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 Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
anonymous-struct.cpp Properly compute triviality for explicitly-defaulted or deleted special members. 2012-12-08 02:53:02 +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 Fix member refs with using decl + anonymous union. 2013-07-16 00:01:31 +00:00
array-bound-merge.cpp Using CanQualType::getAs<ArrayType> is unsafe; fix the code currently using it, 2012-12-13 01:43:21 +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 Have Sema::ActOnStartOfFunctionDef return the declaration that was passed it. 2012-12-14 06:54:03 +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 Added testcase for r195255. 2013-11-21 16:43:28 +00:00
atomic-type.cxx Support C11 _Atomic type qualifier. This is more-or-less just syntactic sugar for the _Atomic type specifier. 2013-03-28 01:55:44 +00:00
attr-after-definition.cpp
attr-aligned.cpp Sema: Only merge typedef attributes if the previous decl is a typedef 2013-10-08 00:19:09 +00:00
attr-cleanup-gcc.cpp Switch attribute test line endings from CRLF 2013-10-20 19:04:19 +00:00
attr-cleanup.cpp Switch attribute test line endings from CRLF 2013-10-20 19:04:19 +00:00
attr-common.cpp Switching the common attribute over to using the generic diagnostic, and removing the now-unused diagnostic. Updates a test case. 2013-11-24 21:48:06 +00:00
attr-cxx0x.cpp No longer accepting attribute spellings with prefix and suffix underscores except for GNU attributes, or C++11-style attributes in the GNU namespace. This prevents attributes such as __declspec(__dllexport__) or [[__noreturn__]] from being treated as known attributes. 2013-12-11 22:27:44 +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 Sema: Only merge typedef attributes if the previous decl is a typedef 2013-10-08 00:19:09 +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-no-sanitize-address.cpp Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-no-sanitize-memory.cpp Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-no-sanitize-thread.cpp Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +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 Start checking nonnull (as well as format and argument_with_type_tag) on 2013-01-24 02:03:08 +00:00
attr-noreturn.cpp Fix PR15291: noreturn adjustment in overload resolution for function templates, from Alexander Zinenko! 2013-04-17 08:45:07 +00:00
attr-print.cpp Improved source code fidelity for gcc mode attribute. 2013-06-20 12:46:19 +00:00
attr-regparm.cpp Fix typo 'with with' in diagnostic. 2013-02-21 23:15:05 +00:00
attr-selectany.cpp Implement __declspec(selectany) under -fms-extensions 2013-05-20 14:02:37 +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-used.cpp Don't reject attribute used in an "extern const" variable definition. 2013-08-16 23:18:50 +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 Re-enabled support for the Subjects for the weak attribute. This changes the diagnostic involved to be more accurate -- for C++ code, it will now report that weak applies to variables, functions or classes. Added additional test case for this. 2013-12-02 17:07:07 +00:00
attr-weakref.cpp Switching the WeakRef attribute to using the new checkStringLiteralArgument helper function. 2013-09-13 19:35:18 +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-pragma.cpp Make sure pragmas don't attach visibility attributes to auto variables with 2013-02-22 17:59:16 +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
block-call.cpp Implement objective-c++'s block pointer type matching involving 2011-02-12 19:07:46 +00:00
blocks-1.cpp Switch the semantic DeclContext for a block-scope declaration of a function or 2013-09-20 01:15:31 +00:00
blocks.cpp Fix a crash-on-valid where a block capture copy expression was 2013-03-22 02:10:40 +00:00
bool.cpp Split the deprecated increment bool warning into a sub-group of -Wdeprecated 2013-08-08 03:05:52 +00:00
borland-extensions.cpp Actually remove the hack which was blocking the Borland-style attributes from 2013-01-29 01:38:41 +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 Only provide MS builtins when -fms-extensions is on 2013-11-13 22:47:22 +00:00
c99-variable-length-array-cxx11.cpp Implement -Wvla correctly 2013-01-23 20:02:51 +00:00
c99-variable-length-array.cpp Improve 'failed template argument deduction' diagnostic for the case where we 2013-01-31 05:19:49 +00:00
c99.cpp Sema: Cleanup and simplify anonymous union diagnostics 2013-11-02 10:38:05 +00:00
calling-conv-compat.cpp Add an AdjustedType sugar node for adjusting calling conventions 2013-12-05 01:23:43 +00:00
captured-statements.cpp Add some missing ProhibitAttributes calls to some declaration-like #pragmas. 2013-09-16 21:17:44 +00:00
cast-conversion.cpp Don't build expressions for invalid casts. 2013-07-26 23:47:47 +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 Make CXXBaseSpecifier::getType return unqual type. 2013-07-11 22:22:22 +00:00
class-layout.cpp Fix bug in computing POD-for-layout. 2013-07-20 01:06:31 +00:00
class-names.cpp
class.cpp Avoid spurious error messages if parent template class cannot be instantiated 2013-08-10 05:54:47 +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 Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +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 PR15966: don't get confused by a complex integer -> complex integer conversion 2013-05-10 20:29:50 +00:00
composite-pointer-type.cpp
compound-literal.cpp Tweak changes in r186464 to avoid a crash. 2013-10-01 00:28:29 +00:00
condition.cpp Don't treat a non-deduced 'auto' type as being type-dependent. Instead, there 2013-04-30 13:56:41 +00:00
conditional-expr.cpp Allow paren casted throw statements inside of ternary expressions 2013-06-02 08:40:42 +00:00
const-cast.cpp Switch to the new MingW ABI. 2013-12-12 16:07:11 +00:00
constant-expression-cxx1y.cpp Don't reject dependent range-based for loops in constexpr functions. The loop 2013-11-15 02:29:26 +00:00
constant-expression-cxx11.cpp Modern gcc is happy to constant evaluate __builtin_strlen in various cases 2013-11-15 02:10:04 +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 Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
constexpr-depth.cpp constexpr handling improvements. Produce detailed diagnostics when a 'constexpr' 2011-12-19 06:19:21 +00:00
constexpr-duffs-device.cpp Add another C++14 constexpr test case. 2013-07-25 01:53:54 +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 C++1y: support simple variable assignments in constexpr functions. 2013-04-26 14:36:30 +00:00
constexpr-steps.cpp Add test forgotten in r181388. 2013-05-08 02:38:36 +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 Since we're counting number of steps, switch to turing machines which maximize 2013-05-16 22:18:32 +00:00
constexpr-value-init.cpp Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00
constructor-initializer.cpp <rdar://problem/13267210> Ensure that Sema::CompareReferenceRelationship returns consistent results with invalid types. 2013-03-26 23:36:30 +00:00
constructor-recovery.cpp
constructor.cpp
conversion-delete-expr.cpp Refactor places which perform contextual implicit conversions to go through a 2013-05-21 19:05:48 +00:00
conversion-function.cpp Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
conversion-incomplete-type.cpp Fix a conversion to incomplete type bug -- The error message now specifically states that the type is incomplete and points to the forward declaration of the incomplete type. 2013-06-27 01:50:25 +00:00
conversion.cpp Don't warn on conversion from NULL to nullptr_t 2013-02-16 00:56:22 +00:00
convert-to-bool.cpp Warn about self-initialization of references. 2012-08-17 10:12:33 +00:00
converting-constructor.cpp
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 error recovery in return statement. 2013-12-04 03:51:59 +00:00
cstyle-cast.cpp Switch to the new MingW ABI. 2013-12-12 16:07:11 +00:00
cv-unqual-rvalues.cpp
cxx-member-pointer-op.cpp
cxx0x-class.cpp Modify the uninitialized field visitor to detect uninitialized use across the 2013-09-20 03:03:06 +00:00
cxx0x-compat.cpp Add compat/extension warnings for init captures. 2013-09-28 05:38:27 +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 Properly compute triviality for explicitly-defaulted or deleted special members. 2012-12-08 02:53:02 +00:00
cxx0x-defaulted-functions.cpp PR15597: Fix a confusion between the implicit exception specification and the 2013-03-27 00:22:47 +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 Implement DR1270: braces can be elided in all aggregate initialization, not 2013-06-06 11:41:05 +00:00
cxx0x-initializer-constructor.cpp Add some missing diagnostics for C++11 narrowing conversions. 2013-02-05 05:52:24 +00:00
cxx0x-initializer-references.cpp Switch the semantic DeclContext for a block-scope declaration of a function or 2013-09-20 01:15:31 +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 PR18013: Don't assert diagnosing a bad std::initializer_list construction. 2013-11-21 23:30:57 +00:00
cxx0x-nontrivial-union.cpp Don't check for triviality on fields of templated records. We can't know the 2013-06-25 23:22:23 +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
cxx1y-constexpr-not-const.cpp The 'constexpr implies const' rule for non-static member functions is gone in 2013-04-21 01:08:50 +00:00
cxx1y-contextual-conversion-tweaks.cpp r184100 Fix -- Updated test cases for contextual conversion 2013-06-18 01:27:47 +00:00
cxx1y-deduced-return-type.cpp PR17533 and duplicates: don't compute the return type of an overloaded operator 2013-11-15 02:58:23 +00:00
cxx1y-generic-lambdas-capturing.cpp This patch implements capturing of variables within generic lambdas. 2013-11-07 05:17:06 +00:00
cxx1y-generic-lambdas.cpp Move a generic lambda test into the more logical test file. 2013-12-08 15:11:48 +00:00
cxx1y-init-captures.cpp Move a generic lambda test into the more logical test file. 2013-12-08 15:11:48 +00:00
cxx1y-initializer-aggregates.cpp C++1y: Allow aggregates to have default initializers. 2013-04-20 22:23:05 +00:00
cxx1y-sized-deallocation.cpp Implement C++1y sized deallocation (n3778). This is not enabled by -std=c++1y; 2013-09-29 04:40:38 +00:00
cxx1y-user-defined-literals.cpp Handle standard libraries that miss out the space when defining the standard 2013-09-24 04:06:10 +00:00
cxx1y-variable-templates_in_class.cpp Fix crash if a dependent template-id was assumed to be a type but instantiates 2013-12-04 00:56:29 +00:00
cxx1y-variable-templates_top_level.cpp Fix crash if a variable template specialization is used in a nested-name-specifier. 2013-12-04 00:47:45 +00:00
cxx11-ast-print.cpp Moved pretty printer test for thread local storage in its own file 2013-05-04 11:26:59 +00:00
cxx11-attr-print.cpp Switched FormatAttr to using an IdentifierArgument instead of a StringArgument since that is a more accurate modeling. 2013-09-03 21:02:22 +00:00
cxx11-crashes.cpp If we find an error in the range expression in a range-based for loop, and the 2013-08-21 01:40:36 +00:00
cxx11-gnu-attrs.cpp Switch %clang -cc1 tests to %clang_cc1 2013-10-28 23:47:09 +00:00
cxx11-inheriting-ctors.cpp PR15757: When we instantiate an inheriting constructor template, also 2013-05-17 02:19:35 +00:00
cxx11-thread-local-print.cpp Avoid patching storage class for block scope thread_local variables. 2013-05-10 20:34:44 +00:00
cxx11-thread-local.cpp Revert r179671 and just pass a triple to the test for a platform with known 2013-04-17 17:27:51 +00:00
cxx11-user-defined-literals-unused.cpp Mark as referenced the functions from instantiated UserDefinedLiterals. 2013-04-09 01:17:02 +00:00
cxx11-user-defined-literals.cpp Reject template-ids containing literal-operator-ids that have a dependent 2013-12-05 00:58:33 +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 Remove support for arrays of runtime bound in C++1y, now they have been voted 2013-10-01 00:19:43 +00:00
cxx98-compat.cpp Implement C++1y digit separator proposal (' as a digit separator). This is not 2013-09-26 03:33:06 +00:00
dcl_ambig_res.cpp sizeof(void) etc. should be a hard error in C++. 2013-08-13 22:26:42 +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 Try to recognise hidden tag type names in potential declarations, in ObjC code as well. 2013-05-07 19:54:28 +00:00
decl-init-ref.cpp PR16502: Fix a dumb bug where we might look past the last initializer in an 2013-07-01 06:08:20 +00:00
decl-microsoft-call-conv.cpp Take into consideration calling convention when processing specializations. 2013-12-10 00:59:31 +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 PR16529: Don't forget to add the CXXFunctionalCastExpr type sugar to an 2013-09-23 02:20:00 +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 Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +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 Attempt typo correction for function calls with the wrong number of arguments. 2013-07-08 23:13:44 +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
deprecated.cpp C++11: don't warn about the deprecated 'register' keyword if it's combined with 2013-06-17 01:34:01 +00:00
derived-to-base-ambig.cpp
destructor.cpp Sema: Taking the address of a dtor is illegal per C++ [class.dtor]p2. 2013-10-10 09:44:41 +00:00
direct-initializer.cpp
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 Add an additional test for dynamic_cast. 2013-06-20 18:53:38 +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 Don't use dyn_cast on a Type* which might not be canonical. Fixes an extremely obscure record layout bug. 2012-12-06 03:04:50 +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-increment.cpp Emit an error for enum increments and decrements in C++ mode. 2013-08-08 01:50:23 +00:00
enum-scoped.cpp PR18044: Reject declarations of enumtype::X early to avoid an assertion in 2013-11-25 21:30:29 +00:00
enum-unscoped-nonexistent.cpp Suppress bogus "use of undefined constexpr function" error if the function body 2013-05-14 05:18:44 +00:00
enum.cpp Pedantic diagnostic correction: in C++, we have integral constant expressions, 2012-01-15 03:51:30 +00:00
err_init_conversion_failed.cpp The diagnostic err_init_conversion_failed uses the enum 2013-08-31 03:50:47 +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 Warn on duplicate function specifier 2013-11-13 06:57:53 +00:00
expression-traits.cpp Bound member function diagnostic - suggest no-args calls and note overload candidates 2013-06-04 00:28:46 +00:00
expressions.cpp Improve some of the conversion warnings to fire on conversion to bool. 2012-05-15 16:56:36 +00:00
extern-c.cpp Added warning on structures/unions that are empty or contain only 2013-11-14 02:13:03 +00:00
flexible-array-test.cpp Sema: Disallow derived classes with virtual bases from having flexible array members 2013-11-02 11:19:13 +00:00
fntype-decl.cpp
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 Improve the error message for attempting to build a for range loop using a 2013-10-11 22:16:04 +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 Don't treat a non-deduced 'auto' type as being type-dependent. Instead, there 2013-04-30 13:56:41 +00:00
format-strings-0x.cpp Implement C++'s restrictions on the type of an expression passed to a vararg 2013-08-05 18:49:43 +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
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 Reinstate r186040, with additional fixes and more test coverage (reverted in 2013-07-17 23:53:16 +00:00
function-extern-c.cpp Diagnose about extern "C" functions returning c++ objects 2013-03-14 23:09:00 +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
function-pointer-arguments.cpp Fix for PR16570: when comparing two function pointers, discard qualifiers when 2013-08-09 21:42:32 +00:00
function-redecl.cpp Switch the semantic DeclContext for a block-scope declaration of a function or 2013-09-20 01:15:31 +00:00
function-type-qual.cpp [AST] Introduce a new DecayedType sugar node 2013-06-24 17:51:48 +00:00
functional-cast.cpp Switch to the new MingW ABI. 2013-12-12 16:07:11 +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
gnu-flags.cpp Add specific warning flags for GNU ext in Sema. 2013-09-18 23:23:17 +00:00
goto.cpp Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +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 C++1y: track object lifetime during constexpr evaluation, and don't allow 2013-07-24 07:11:57 +00:00
illegal-member-initialization.cpp
implicit-exception-spec.cpp PR11851 (and duplicates): Whenever a constexpr function is referenced, 2012-11-07 01:14:25 +00:00
implicit-int.cpp
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 Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +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
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 Add test case for r193923 2013-11-02 12:11:58 +00:00
init-priority-attr.cpp Adding in the subject for the init_priority attribute. 2013-11-27 16:34:09 +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
invalid-member-expr.cpp Add test case for rdar://11293995 2012-04-27 04:31:46 +00:00
invalid-template-specifier.cpp
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 Fix computation of linkage within nested lambdas. 2013-10-01 02:51:53 +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
libstdcxx_pointer_return_false_hack.cpp Fix copy-pasted comment. 2013-06-20 23:01:44 +00:00
linkage-spec.cpp Retain previous language linkage of friend function declarations 2013-10-22 22:53:01 +00:00
linkage.cpp Add a testcase for a recent regression. 2013-04-26 00:29:11 +00:00
linkage2.cpp Reinstate r185229, reverted in r185256, with a tweak: further ignore the 2013-06-30 09:48:50 +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 Change semantics of regex expectations in the diagnostic verifier 2013-12-11 23:40:50 +00:00
member-init.cpp When we're synthesizing copy/move-assignment, we can't form a reference to an 2013-06-07 01:48:56 +00:00
member-location.cpp
member-name-lookup.cpp
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 Add a few more tests for casts. 2013-06-20 01:35:13 +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 PR17602: check accessibility when performing an implicit derived-to-base 2013-12-12 03:40:18 +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
microsoft-dtor-lookup.cpp [ms-cxxabi] Destroy temporary record arguments in the callee 2013-06-21 12:45:15 +00:00
microsoft-new-delete.cpp Switching the tests to use size_t instead of unsigned int to hopefully appease the Linux x64 build bot (take 2, forgot this test case). 2013-05-30 02:17:14 +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 Allow CorrectTypo to replace CXXScopeSpecifiers that refer to classes. 2013-10-19 00:05:00 +00:00
missing-namespace-qualifier-typo-corrections.cpp Teach typo correction to look inside of classes like it does namespaces. 2013-09-26 19:10:29 +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
ms-overload-entry-point.cpp [-cxx-abi microsoft] Correctly identify Win32 entry points 2013-09-16 22:44:20 +00:00
ms-wchar.cpp Better diagnostics for string initialization. 2013-05-15 11:03:04 +00:00
ms_struct.cpp Adds Microsoft compatiable C++ record layout code to clang. 2013-10-11 20:19:00 +00:00
ms_wide_bitfield.cpp MS wide bitfield error check in Sema 2013-07-17 20:46:03 +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
neon-vector-types.cpp Add error checking to reject neon_vector_type attribute on targets without NEON. 2013-09-16 18:07:35 +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 Change semantics of regex expectations in the diagnostic verifier 2013-12-11 23:40:50 +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 Sema: Do not allow lambda expressions to appear inside of constant expressions 2013-10-25 09:12:52 +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 If a replaceable global operator new/delete is marked inline, don't warn if 2013-11-16 01:57:09 +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
no-rtti.cpp Allow dynamic_cast to void* even with -fno-rtti. 2013-09-24 23:21:41 +00:00
no-warn-composite-pointer-type.cpp Update test case. 2012-10-30 05:28:33 +00:00
no-warn-unused-const-variables.cpp Split -Wunused-variable warning. 2013-09-11 10:37:35 +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 Add a few more tests for casts. 2013-06-20 01:35:13 +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 Sema: Consider it an error to apply __builtin_offsetof to a member in a virtual base 2013-10-15 06:28:23 +00:00
old-style-cast.cpp Add a triple to fix this test on Windows 2013-11-27 04:59:03 +00:00
operator-arrow-depth.cpp Change semantics of regex expectations in the diagnostic verifier 2013-12-11 23:40:50 +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
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 Sema: Do not allow overloading between methods based on restrict 2013-11-03 23:51:28 +00:00
overload-member-call.cpp Fix mismatch between pointer and pointee type when diagnosing an incorrect 2013-01-26 02:07:32 +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 clang/test: Remove "REQUIRES:LP64" in two tests. Each of them have explicit triple. 2012-12-07 06:57:40 +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 Improve error for assignment to incomplete class. 2013-08-28 20:35:35 +00:00
parentheses.cpp PR16727: don't try to evaluate a potentially value-dependent expression when 2013-08-19 22:06:05 +00:00
pascal-strings.cpp Handle parens properly when initializing a char array from a string literal. 2013-05-05 16:40:13 +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 Change semantics of regex expectations in the diagnostic verifier 2013-12-11 23:40:50 +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
pragma-weak.cpp Process #pragma weak only after we know the linkage of the function or variable 2013-03-02 21:41:48 +00:00
predefined-expr.cpp Handle PredefinedExpr with templates and lambdas 2013-09-16 13:57:27 +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
qualified-id-lookup.cpp Change semantics of regex expectations in the diagnostic verifier 2013-12-11 23:40:50 +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
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 When copy-initializing a temporary for a reference binding, don't allow use of 2013-06-13 00:57:57 +00:00
reinterpret-cast.cpp Switch to the new MingW ABI. 2013-12-12 16:07:11 +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
return.cpp Issue diagnostic when constructor or destructor 2013-12-03 17:10:08 +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 PR18217: Rewrite JumpDiagnostics' handling of temporaries, to correctly handle 2013-12-12 01:27:02 +00:00
self-comparison.cpp Add self-comparison warnings for fields. 2013-09-06 03:13:09 +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 Fix a bug in VarDecl::getSourceRange() for static member arrays with an element 2013-01-22 17:00:09 +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
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
static-cast.cpp Switch to the new MingW ABI. 2013-12-12 16:07:11 +00:00
static-data-member.cpp Fix pr16354. 2013-06-19 13:41: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 Added warning on structures/unions that are empty or contain only 2013-11-14 02:13:03 +00:00
string-init.cpp Better diagnostics for string initialization. 2013-05-15 11:03:04 +00:00
string-plus-char.cpp Add -Wstring-plus-char, which warns when adding char literals to C strings. 2013-10-25 16:52:00 +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 Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +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 Moved fallthrough regression test to switch-implicit-fallthrough.cpp. 2013-04-02 17:55:01 +00:00
switch.cpp Refactor places which perform contextual implicit conversions to go through a 2013-05-21 19:05:48 +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
this.cpp Improve diagnostics for invalid use of non-static members / this: 2012-04-05 01:13:04 +00:00
trailing-return-0x.cpp PR16273: Weaken a bogus assertion. 2013-06-07 20:03:01 +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
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
type-traits.cpp [-fms-extensions] Permit 'override' in C++98 and 'sealed' as a synonym for 'final' 2013-10-18 00:33:31 +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
typo-correction-pt2.cpp Change semantics of regex expectations in the diagnostic verifier 2013-12-11 23:40:50 +00:00
typo-correction.cpp Change semantics of regex expectations in the diagnostic verifier 2013-12-11 23:40:50 +00:00
unary-real-imag.cpp
undefined-inline.cpp Add a new -Wundefined-inline warning for inline functions which are used but not 2013-02-01 08:13:20 +00:00
undefined-internal.cpp Add r180263 back, but fix hasBraces() to be correct during parsing. 2013-04-26 01:30:23 +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 Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +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 Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +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 Be smarter about deciding to add a leading '::' to a 2013-10-19 00:04:52 +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 assert if an attempt is made to explicitly instantiate an alias template. 2013-06-22 22:03:31 +00:00
using-directive.cpp
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 Extend -Wnon-pod-varargs to check calls made from member pointers. 2013-06-22 02:30:38 +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
vector.cpp vector_size cannot be applied to Booleans. Updated the semantic checking logic, as well as the comment and added a test case. Fixes PR12649 2013-09-13 20:43:08 +00:00
virtual-base-used.cpp Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +00:00
virtual-member-functions-key-function.cpp Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +00:00
virtual-override-x64.cpp Virtual method overrides can no longer have mismatched calling conventions. This fixes PR14339. 2012-12-09 17:45:41 +00:00
virtual-override-x86.cpp Delete CC_Default and use the target default CC everywhere 2013-08-27 23:08:25 +00:00
virtual-override.cpp Better diagnostic for static override when methods are thiscall by default 2013-12-11 17:42:11 +00:00
virtuals.cpp Warn on duplicate function specifier 2013-11-13 06:57:53 +00:00
visibility.cpp Clear the LV cache when setting the instantiated from link. 2013-01-08 14:58:32 +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 Don't get confused if a extern "C" builtin function is redeclared without 2012-12-30 17:23:09 +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 Warn that scoped enumerations are a C++11 extenstion when compiling in 2013-04-23 02:47:36 +00:00
warn-cast-align.cpp
warn-char-subscripts.cpp
warn-consumed-analysis.cpp Consumed analysis: track state of temporary objects. 2013-11-16 00:22:43 +00:00
warn-consumed-parsing.cpp Changed tests_typestate to test_typestate for consistency. 2013-10-29 20:28:41 +00:00
warn-dangling-field.cpp Move detection of reference members binding to temporaries from building of 2013-06-12 21:51:50 +00:00
warn-deprecated-header.cpp Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
warn-div-or-rem-by-zero.cpp Fix the warning for divide by zero to be a bit more robust. ;] 2013-06-14 08:57:18 +00:00
warn-empty-body.cpp Make Preprocessor::Lex non-recursive. 2013-09-19 00:41:32 +00:00
warn-enum-compare.cpp Enhance -Wtautological-constant-out-of-range-compare to include the name of the enum constant. 2013-03-15 21:50:10 +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-func-not-needed.cpp Consider hidden decls for isUsed checks. 2013-10-22 21:56:29 +00:00
warn-global-constructors.cpp Make Expr::isConstantInitializer match IRGen. 2013-07-16 22:40:53 +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-logical-not-compare.cpp Testcase for PR16673. 2013-07-22 23:30:13 +00:00
warn-loop-analysis.cpp Add a new warning to -Wloop-analysis to detect suspicious increments or 2013-08-06 21:31:54 +00:00
warn-member-not-needed.cpp Add missing test for -Wunneeded-member-functions. 2013-06-19 22:01:25 +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 Fix -Wmissing-variable-declarations regression. 2013-09-24 23:10:08 +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 When -Woverloaded-virtual is triggered, call HandleFunctionTypeMismatch to add 2013-04-05 23:02:24 +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-reinterpret-base-class.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
warn-reorder-ctor-initialization.cpp Improve -Wreorder to handle cases of anonymous class member ordering 2013-01-17 08:49:22 +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-const-float.cpp Move -Wstatic-float-init fixit into a note & don't recover as if constexpr 2013-01-29 22:26:08 +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-sysheader-macro.cpp Suppress -Wshadow / -Wold-style-cast expanded from system header macros 2013-12-12 12:47:48 +00:00
warn-thread-safety-analysis.cpp Thread safety analysis: fix ICE due to missing null check on dyn_cast. 2013-11-26 19:45:21 +00:00
warn-thread-safety-parsing.cpp Removed a duplicate diagnostic related to attribute subjects for thread safety annotations, and replaced it with the more general attribute diagnostic. Updated the test case in the one instance where wording changed. No functional change intended. 2013-11-20 21:41:42 +00:00
warn-unreachable.cpp Switch the semantic DeclContext for a block-scope declaration of a function or 2013-09-20 01:15:31 +00:00
warn-unsequenced.cpp Teach -Wunsequenced that the side-effects of a function evaluation are sequenced 2013-06-30 10:40:20 +00:00
warn-unused-attribute.cpp Enabling the subject list for the warn_unused attribute, and adding a test case. Previously, would issue a "warning ignored" diagnostic instead of the more specific "only applies to." 2013-11-27 16:59:17 +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 Consider used attributes in hidden decls. 2013-10-25 01:28:12 +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 Modify the uninitialized field visitor to detect uninitialized use across the 2013-09-20 03:03:06 +00:00
warn-unused-result.cpp Sema: Simplify the check if a method returns an instance of the class. 2013-10-16 16:21:04 +00:00
warn-unused-value.cpp report unused-value warning also for warn_unused types 2013-07-21 13:15:58 +00:00
warn-unused-variables-error.cpp Suppress -Wunused-variable for variables declared in headers, which may in 2013-04-10 00:47:10 +00:00
warn-unused-variables.cpp PR8455: Handle an attribute between a goto label and a variable declaration per 2013-11-15 22:45:29 +00:00
warn-using-namespace-in-header.cpp Split isFromMainFile into two functions. 2013-08-22 00:27:10 +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-vla.cpp Implement -Wvla correctly 2013-01-23 20:02: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
writable-strings-deprecated.cpp Add -Wdeprecated-writable-string in C++ to -Wc++11-compat, since it's ill-formed in C++11. 2013-11-14 22:22:31 +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