llvm-project/clang/test/SemaCXX
Rafael Espindola 87198cd35c Don't reject attribute used in an "extern const" variable definition.
Before this patch we would warn and drop the attribute in
extern const char test3[] __attribute__((used)) = "";

llvm-svn: 188588
2013-08-16 23:18:50 +00:00
..
Inputs Suppress the c++11 -Wdeprecated warning for 'register' if it is expanded from a 2013-06-14 21:05:24 +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 Under -fms-extensions, only inject a friend tag name when we didn't see a tag with that name in an enclosing scope. 2013-06-27 20:42:30 +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
__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 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 Add a testcase for PR7434, which is a bug we no longer appear to have. 2013-06-11 20:38:45 +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 Fix crash typo-correcting dependent member func. 2013-07-08 23:35:04 +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 Fix pretty-printing for unnamed unions. 2013-08-12 21:54:04 +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-common.cpp Don't allow __attribute__((common)) in C++. PR16330. 2013-06-20 22:55:04 +00:00
attr-cxx0x.cpp sizeof(void) etc. should be a hard error in C++. 2013-08-13 22:26:42 +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 Attempt to fix this test on i686 targets. 2013-02-12 08:59:01 +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 Check for internal weak decls after merging. 2013-01-16 23:11:15 +00:00
attr-weakref.cpp Delay linkage checks when validating the weakref attribute. 2013-01-16 23:49:06 +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 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 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 Add a __builtin_addressof that performs the same functionality as the built-in 2013-07-11 02:27:57 +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 Change the diagnostics which said 'accepted as an extension' to instead say 2011-12-29 21:57:33 +00:00
captured-statements.cpp Implement template support for CapturedStmt 2013-05-04 03:59:06 +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 Enhance -Wtautological-constant-out-of-range-compare to include the name of the enum constant. 2013-03-15 21:50:10 +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 Fix representation of compound literals for C++ objects with destructors. 2013-05-06 16:48:12 +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 Fix handling of const_cast from prvalue to rvalue reference: such a cast is 2013-06-14 22:27:52 +00:00
constant-expression-cxx1y.cpp PR16755: When initializing or modifying a bitfield member in a constant 2013-08-06 07:09:20 +00:00
constant-expression-cxx11.cpp PR16755: When initializing or modifying a bitfield member in a constant 2013-08-06 07:09:20 +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 C++1y: support simple variable assignments in constexpr functions. 2013-04-26 14:36:30 +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 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
cxx-member-pointer-op.cpp
cxx0x-class.cpp Move -Wstatic-float-init fixit into a note & don't recover as if constexpr 2013-01-29 22:26:08 +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 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 Fix handling of braced-init-list as reference initializer within aggregate 2013-05-31 02:56:17 +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 PR12086, PR15117 2013-06-12 22:31:48 +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-array-runtime-bound.cpp Add a triple to make a test resilient to non-TLS hosts (eg: darwin10) 2013-04-22 04:18:25 +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 PR16875: The return type of a dependent function type is visible when it's 2013-08-14 20:16:31 +00:00
cxx1y-initializer-aggregates.cpp C++1y: Allow aggregates to have default initializers. 2013-04-20 22:23:05 +00:00
cxx1y-user-defined-literals.cpp C++1y literal suffix support: 2013-07-23 08:14:48 +00:00
cxx1y-variable-templates_in_class.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
cxx1y-variable-templates_top_level.cpp Bug fix: note diagnosis on expression narrowing should say "variable template" instead of "static data member" when appropriate 2013-08-14 20:15:02 +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 Improved source code fidelity for gcc mode attribute. 2013-06-20 12:46:19 +00:00
cxx11-crashes.cpp Don't treat a non-deduced 'auto' type as being type-dependent. Instead, there 2013-04-30 13:56:41 +00:00
cxx11-gnu-attrs.cpp Downgrade 'attribute ignored when parsing type' from error to warning, to match 2013-01-29 10:02:16 +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 PR14950: Fix out-of-bounds function parameter access in literal operator lookup. 2013-01-15 07:12:59 +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 r184100 Fix -- Updated test cases for contextual conversion 2013-06-18 01:27:47 +00:00
cxx98-compat.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
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 Fix declaring class template methods with an attributed typedef 2013-07-31 21:00:18 +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 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 PR11684, core issue 1417: 2012-02-10 11:05:11 +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 Don't allow unary negation on scoped enums. 2013-08-16 00:09:18 +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
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 Refactor places which perform contextual implicit conversions to go through a 2013-05-21 19:05:48 +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 Reinstate r185229, reverted in r185256, with a tweak: further ignore the 2013-06-30 09:48:50 +00:00
flexible-array-test.cpp g++ is more permissive regarding flexible arrays. 2011-03-07 20:04:04 +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 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
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 Fix implementation of C11 6.2.7/4 and C++11 [dcl.array]p3: 2013-08-13 18:18:50 +00:00
function-type-qual.cpp [AST] Introduce a new DecayedType sugar node 2013-06-24 17:51:48 +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 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
init-priority-attr.cpp Replacing err_attribute_argument_not_int with err_attribute_not_type_attr 2013-07-30 14:10:17 +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 Handle a difference in lambda return type deduction between C++11 and C++1y: if 2013-07-26 23:45:07 +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 Reinstate r185229, reverted in r185256, with a tweak: further ignore the 2013-06-30 09:48:50 +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 A few small cleanups to r187504. Thanks to dblaikie for the assist. 2013-07-31 20:16:17 +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 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
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
missing-namespace-qualifier-typo-corrections.cpp Add quotation marks to template names in diagnostics. 2013-03-05 06:21:38 +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-wchar.cpp Better diagnostics for string initialization. 2013-05-15 11:03:04 +00:00
ms_struct.cpp Rewrite record layout for ms_struct structs. 2013-06-26 20:50:34 +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 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 Fix crash w/BlockDecl and invalid qualified decl. 2013-08-12 21:54:01 +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 Fix some confusing diagnostic wording. s/implicit default/implicit/ if we're 2013-06-13 03:34:55 +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 Check dynamic_cast is not used with -fno-rtti, unless it is a noop or can be resolved statically. 2013-08-01 08:28:32 +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 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 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
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 Improve diagnostic for redeclaring static member function. Fixes PR16382. 2013-06-19 22:43:55 +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 Fix crash on zero-argument assignment operator. 2013-07-11 23:55:07 +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 Sema: Don't assume a nested name specifier holds a type 2013-08-05 04:53:41 +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
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 Disallow extern decls of type void in C++ mode 2013-05-29 00:56:45 +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 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 For -Wignored-qualifiers, don't warn on qualifiers which we acquire via a 2013-03-28 03:27:52 +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 Fix a couple of bugs where jump diagnostics would not notice that a variable 2013-06-03 01:05:37 +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 Implement appropriate semantics for C++ casting and conversion when 2011-04-15 17:59:54 +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 Add missing diagnostic for a nested-name-specifier on a free-standing type definition. Bump some related diagnostics from warning to extension in C++, since they're errors there. Add some missing checks for function specifiers on non-function declarations. 2013-03-18 22:52:47 +00:00
string-init.cpp Better diagnostics for string initialization. 2013-05-15 11:03:04 +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 Implement compiler intrinsics needed for compatibility with MSVC 2012 <type_traits>. 2013-03-27 01:34:16 +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 Fix a crasher than manifests when typo correction suggests a function template. 2013-07-31 00:48:10 +00:00
typo-correction.cpp Attempt typo correction for function calls with the wrong number of arguments. 2013-07-08 23:13:44 +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 PR15906: The body of a lambda is not an evaluated subexpression; don't visit it when visiting such subexpressions. 2013-05-03 19:16:22 +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 Offer typo suggestions for 'using' declarations. 2013-07-10 17:34:22 +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 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 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 Fix Expr::Classify to correctly classify ExtVectorElementExprs. PR16204. 2013-06-17 21:09:57 +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 Virtual method overrides can no longer have mismatched calling conventions. This fixes PR14339. 2012-12-09 17:45:41 +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
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-strict.cpp Patch by Chris Wailes <chris.wailes@gmail.com>. 2013-08-12 21:20:55 +00:00
warn-consumed-analysis.cpp Patch by Chris Wailes <chris.wailes@gmail.com>. 2013-08-12 21:20:55 +00:00
warn-consumed-parsing.cpp Patch by Chris Wailes <chris.wailes@gmail.com>. 2013-08-12 21:20:55 +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 Generalize -Wempty-body: warn when statement body is empty (closes: PR11329) 2012-02-14 22:14: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 Mark all subsequent decls used. 2013-01-08 19:43:34 +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 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 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-thread-safety-analysis.cpp Thread safety analysis: new test case 2013-08-16 18:28:00 +00:00
warn-thread-safety-parsing.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
warn-unreachable.cpp Revert various template unreachability code I committed accidentally. 2012-01-24 04:51:48 +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 add type attribute warn_unused, for -Wunused-variable warnings (pr#14253) 2013-07-20 15:05:36 +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 Suppress unused warning on static inline function template specializations. 2013-04-16 15:21:30 +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 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 Suppress -Wunused-variable for variables declared in headers, which may in 2013-04-10 00:47:10 +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-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 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