llvm-project/clang/test/SemaCXX
David Majnemer 26a1e0ef76 [Sema] Don't permit dependent alignments on non-dependent typedef-names
A dependent alignment attribute (like __attribute__((aligned(...))) or
__declspec(align(...))) on a non-dependent typedef or using declaration
poses a considerable challenge: the type is _not_ dependent, the size
_may_ be dependent if the type is used as an array type, the alignment
_is_ dependent.

It is reasonable for a compiler to be able to query the size and
alignment of a complete type.  Let's help that become an invariant.

This fixes PR22042.

Differential Revision: http://reviews.llvm.org/D8693

llvm-svn: 234280
2015-04-07 02:37:09 +00:00
..
Inputs Further restrict issuance of 'override' warning if method 2014-11-03 19:46:18 +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 MS ABI: Define _HAS_CHAR16_T_LANGUAGE_SUPPORT when appropriate 2015-03-18 07:53:18 +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 MS extensions: Properly diagnose address of MS property decl 2015-02-24 20:29:40 +00:00
MicrosoftSuper.cpp For variables with dependent type, don't crash on `var->::new` or `var->__super` 2015-02-16 22:32:46 +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
PR7944.cpp
PR8012.cpp Removing some more unnecessary manual quotes from diagnostics. Updated the related test case to ensure correctness. 2014-01-03 13:34:55 +00:00
PR8385.cpp Add a test case for PR8385. 2012-03-13 23:33:06 +00:00
PR8755.cpp
PR8884.cpp
PR9459.cpp
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 Port r163224 to C++. 2015-02-18 05:19:40 +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 Not all instantiated variable is odr-used. Do not mark non-odr-used variable template specializations as such. 2014-07-30 00:49:55 +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
PR19955.cpp Sema: Allow dllimport entities in template args for mingw 2014-06-26 07:48:46 +00:00
PR20110.cpp Prevent Clang from crashing on template code. 2014-07-02 04:39:38 +00:00
PR20705.cpp Fix PR20705, crash on invalid. 2014-08-22 01:16:44 +00:00
PR21679.cpp Add the test that was supposed to be included with r223162. 2015-01-20 20:15:29 +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: Check that __leave is contained in a __try block. 2014-07-06 22:53:19 +00:00
abstract.cpp Normalize line endings 2014-03-02 18:46:05 +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
accessible-base.cpp PR6037 2015-01-19 01:44:02 +00:00
addr-of-overloaded-function-casting.cpp Fix diagnostics for C-style cast to function type. 2014-04-13 16:08:24 +00:00
addr-of-overloaded-function.cpp TypePrinter print __restrict if not in C99 mode 2015-03-03 23:58:09 +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
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
address-space-references.cpp
aggregate-initialization.cpp Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
alias-template.cpp Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
align_value.cpp Initial support for the align_value attribute 2014-10-02 21:21:25 +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 [Sema] Don't permit dependent alignments on non-dependent typedef-names 2015-04-07 02:37:09 +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
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 Diagnose typedef names for linkage purposes that would change 2014-01-30 01:12:53 +00:00
anonymous-union-cxx11.cpp Allow static_assert inside an anonymous union; fixes PR20021 as well as implements C++ Issue 1940. 2014-06-24 16:22:41 +00:00
anonymous-union.cpp Forgot to commit this change with r223975 2014-12-10 23:08:43 +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 Wire up LookupMemberExpr to use the new TypoExpr. 2014-10-27 18:07:46 +00:00
ast-print.cpp Teach AST printing to not print whitespace inside {} and () for initialization, 2015-01-30 02:04:26 +00:00
atomic-type.cpp Reverted OpenCL2.0 atomic type commits r231932, r231935 2015-03-11 17:26:37 +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-fixit.cpp Added a fixit to remove empty parens from a C++11 attribute argument list when we diagnose this as an error. 2014-12-19 18:37:22 +00:00
attr-cxx0x.cpp PR19252: Fix crash if alignas is used with an auto-typed variable. Don't check 2014-03-27 01:22:48 +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 Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
attr-flag-enum-reject.cpp Create a new 'flag_enum' attribute. 2014-11-28 00:53:20 +00:00
attr-flatten.cpp Implement the flatten attribute. 2014-05-20 17:12:51 +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-gnu.cpp Revert r218925 - "Patch to warn if 'override' is missing" 2014-10-03 09:02:53 +00:00
attr-no-sanitize-address.cpp None of these attributes require FunctionTemplate to be explicitly listed as part of their subject definition. FunctionTemplateDecls are not what the attribute appertains to in the first place -- it attaches to the underlying FunctionDecl. 2014-05-20 14:10:53 +00:00
attr-no-sanitize-memory.cpp None of these attributes require FunctionTemplate to be explicitly listed as part of their subject definition. FunctionTemplateDecls are not what the attribute appertains to in the first place -- it attaches to the underlying FunctionDecl. 2014-05-20 14:10:53 +00:00
attr-no-sanitize-thread.cpp None of these attributes require FunctionTemplate to be explicitly listed as part of their subject definition. FunctionTemplateDecls are not what the attribute appertains to in the first place -- it attaches to the underlying FunctionDecl. 2014-05-20 14:10:53 +00:00
attr-no-split-stack.cpp Implement the no_split_stack attribute. 2014-05-19 22:14:34 +00:00
attr-nodebug.cpp The nodebug attribute has a C++11-style spelling supported by GCC as well. This modifies it so we support that spelling as well. 2014-10-21 15:46:57 +00:00
attr-nonnull.cpp Fix representation of __attribute__((nonnull)) to support correctly modeling 2014-08-27 04:59:42 +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-optnone.cpp When attribute 'optnone' appears on the same declaration with a 2015-01-13 18:34:56 +00:00
attr-print.cpp Pretty print attributes associated with record declarations. 2014-09-15 16:45:30 +00:00
attr-regparm.cpp Fix typo 'with with' in diagnostic. 2013-02-21 23:15:05 +00:00
attr-selectany.cpp Delay attribute checking until auto types are deduced 2014-01-21 23:54:36 +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 Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
attr-unused.cpp Add missing test from r163874. 2012-09-14 16:38:59 +00:00
attr-used.cpp Removed a string literal for an attribute name, which means the attribute name will be quoted in the diagnostic. Manually added some quotes to a diagnostic for consistency. Updated the test cases as appropriate. 2013-12-26 17:30:44 +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 Delay attribute checking until auto types are deduced 2014-01-21 23:54:36 +00:00
attr-weakref.cpp Delay attribute checking until auto types are deduced 2014-01-21 23:54:36 +00:00
attributed-auto-deduction.cpp Sema: handle additional case of qualified types 2014-10-16 22:42:53 +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
bitfield.cpp Fix handling of preincrement on bit-fields. This gives a bit-field in C++, but 2014-09-24 23:55:00 +00:00
block-call.cpp
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 an assertion when ending a function definition. 2014-11-18 00:19:01 +00:00
bool-compare.cpp Extend -Wtautological-constant-out-of-range-compare to handle boolean values 2014-04-04 04:13:47 +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-assume-aligned-tmpl.cpp Support the assume_aligned function attribute 2014-09-26 05:04:30 +00:00
builtin-assume-aligned.cpp constexpr evaluation for __builtin_assume_aligned 2014-10-03 17:18:37 +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 Allow transformation of VariableArray to ConstantArray. 2014-02-06 03:49:11 +00:00
c99.cpp Sema: Cleanup and simplify anonymous union diagnostics 2013-11-02 10:38:05 +00:00
call-with-static-chain.cpp Implement the __builtin_call_with_static_chain GNU extension. 2014-12-12 23:41:25 +00:00
calling-conv-compat.cpp Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +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 PR6037 2015-01-19 01:44:02 +00:00
class-names.cpp
class.cpp If a function decl cannot be merged, mark it as invalid. 2015-01-17 02:33:17 +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-folding.cpp [complex] Teach the other two binary operators on complex numbers (== 2014-10-11 11:03:30 +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 PR17052 / DR1560 (+DR1550): In a conditional expression between a glvalue and a 2014-01-27 04:19:56 +00:00
const-cast.cpp Sema: Check value dependent casts when possible 2014-12-16 00:46:30 +00:00
constant-expression-cxx1y.cpp Fix bug where a trivial constexpr copy/move operation couldn't copy from an 2014-11-19 21:27:17 +00:00
constant-expression-cxx11.cpp PR17938: This has already been fixed, add regression test. 2015-02-13 19:49:59 +00:00
constant-expression.cpp [Sema] Fix assertion hit while trying to do constant evaluation for a dependent expression 2014-02-15 18:53:57 +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 Revert "Don't require -re suffix on -verify directives with regexes." 2013-12-14 01:07:05 +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 Improve diagnostic on default-initializing const variables (PR20208). 2014-07-23 05:16:10 +00:00
constructor-initializer.cpp PR6037 2015-01-19 01:44:02 +00:00
constructor-recovery.cpp
constructor.cpp Sema: Don't allow CVR qualifiers before structors 2014-07-08 18:18:04 +00:00
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 PR21969: Improve diagnostics for a conversion function that has any pieces of a 2014-12-19 02:07:47 +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 Improvements to -Wnull-conversion 2014-10-15 03:42:06 +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 Port r163224 to C++. 2015-02-18 05:19:40 +00:00
cstyle-cast.cpp Revert "Don't require -re suffix on -verify directives with regexes." 2013-12-14 01:07:05 +00:00
cv-unqual-rvalues.cpp
cxx-altivec.cpp Normalize line endings 2014-03-02 18:46:05 +00:00
cxx-deprecated.cpp [c++1z] Support [[deprecated]] attributes on namespaces. Note that it only applies to situations where the namespace is mentioned. Thus, use on anonymous namespaces is diagnosed. 2014-11-14 22:34:56 +00:00
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 [c++1z] N4295: fold-expressions. 2014-11-08 05:07:16 +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 Add tests for two more asserts that r226365 fixed according to SLi's bot. 2015-01-17 04:27:09 +00:00
cxx0x-defaulted-functions.cpp Sema: Recover when a function template is in an extern "C" block 2015-01-15 07:04:38 +00:00
cxx0x-delegating-ctors.cpp Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
cxx0x-deleted-default-ctor.cpp When a special member is explicitly defaulted outside its class, and we reject 2014-01-22 20:09:10 +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 Improve the "braces around scalar init" warning to determine whether to warn 2015-02-12 01:50:05 +00:00
cxx0x-initializer-references.cpp Improve the "braces around scalar init" warning to determine whether to warn 2015-02-12 01:50:05 +00:00
cxx0x-initializer-scalars.cpp Improve the "braces around scalar init" warning to determine whether to warn 2015-02-12 01:50:05 +00:00
cxx0x-initializer-stdinitializerlist.cpp Add a warning for direct-list-initialization of a variable with a deduced type 2015-02-11 02:41:33 +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 Improve the "braces around scalar init" warning to determine whether to warn 2015-02-12 01:50:05 +00:00
cxx0x-type-convert-construct.cpp Fix string-literal to char* conversion in overload resolution for C++11 2014-01-17 21:08:52 +00:00
cxx1y-constexpr-not-const.cpp If a function decl cannot be merged, mark it as invalid. 2015-01-17 02:33:17 +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 If a function decl cannot be merged, mark it as invalid. 2015-01-17 02:33:17 +00:00
cxx1y-generic-lambdas-capturing.cpp Fix 'this' capturing Generic lambdas used within default initializers (PR19876) 2014-05-30 04:39:37 +00:00
cxx1y-generic-lambdas-variadics.cpp Fix PR18498: Support explicit template arguments with variadic generic lambdas 2014-06-01 16:11:54 +00:00
cxx1y-generic-lambdas.cpp PR22117: Fix a case where we would get confused about which function parameter 2015-01-09 01:19:56 +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 Relax the requirement on sized deallocation a bit: Default on unsized delete if sized delete is not provided in global scope, and -fdefine-sized-deallocation option is disabled. 2015-02-22 06:36:53 +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 Sema: Variable templates cannot be static bitfield members 2014-12-28 22:51:45 +00:00
cxx1y-variable-templates_top_level.cpp Tweak diagnostic wording for init list narrowing 2014-05-17 01:13:18 +00:00
cxx11-ast-print.cpp Switch test from wchar_t to char32_t 2015-04-05 05:42:02 +00:00
cxx11-attr-print.cpp There is no std namespace for standards-based attributes. Removing the scope qualifier and updating the only affected test case. 2014-02-13 04:31:04 +00:00
cxx11-crashes.cpp Fix a crash when the size of an 'auto' is needed and its initalizer 2015-03-17 23:50:12 +00:00
cxx11-gnu-attrs.cpp Sema: Don't give attribute alias vars with struct type an init expr 2015-02-08 10:55:14 +00:00
cxx11-inheriting-ctors.cpp Make typo-correction of inheriting constructors work a bit better. Limit 2014-05-01 00:35:04 +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-thread-unsupported.cpp Fix missing diagnostic for unsupported TLS for some thread_local variables. 2014-11-21 06:52:52 +00:00
cxx11-unused.cpp -Wunused-parameter: Don't fire on defaulted or deleted functions 2014-04-30 16:31:28 +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 Change -Wbind-to-temporary-copy from an ExtWarn to an Extension. 2014-09-18 02:09:53 +00:00
cxx98-compat-pedantic.cpp Change -Wbind-to-temporary-copy from an ExtWarn to an Extension. 2014-09-18 02:09:53 +00:00
cxx98-compat.cpp Improve the "braces around scalar init" warning to determine whether to warn 2015-02-12 01:50: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 PR11410: Extend diagnostic to cover all cases of aggregate initialization, not 2014-06-03 07:28:54 +00:00
decl-expr-ambiguity.cpp Add an Extension warning for applying unary * to an operand of type 'void*' in 2014-05-07 21:53:27 +00:00
decl-init-ref.cpp Add increment/decrement operators and compound assignment operators to the 2014-09-25 01:15:40 +00:00
decl-microsoft-call-conv.cpp Re-land "MS ABI: lambda call operators are instance methods and should use thiscall" 2015-04-01 20:22:13 +00:00
declspec-thread.cpp Fix declspec-thread.cpp test with a triple 2014-05-01 17:12:20 +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 [Sema] Adjust Sema::getCurBlock()/getCurLambda() to take into account that we may have 2014-04-26 18:29:13 +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 PR6037 2015-01-19 01:44:02 +00:00
default-constructor-initializers.cpp
default1.cpp PR20769: Fix confusion when checking whether a prior default argument was in 2014-08-27 22:31:34 +00:00
default2.cpp Ensure typos in the default values of template parameters get diagnosed. 2014-12-02 23:32:20 +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 Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
deleted-function.cpp PR22673 again: diagnose use of the used decl, not the found decl. This is also 2015-02-24 21:44:43 +00:00
deleted-operator.cpp Update tests in preparation for using the MS ABI for Win32 targets 2014-01-13 19:48:13 +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 PR21437, final part of DR1330: delay-parsing of exception-specifications. This 2014-11-13 20:01:57 +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 Add a test for an operator access decl. 2014-09-10 17:03:37 +00:00
derived-to-base-ambig.cpp PR6037 2015-01-19 01:44:02 +00:00
destructor.cpp Sema: Parenthesized bound destructor member expressions can be called 2015-02-25 17:36:15 +00:00
devirtualize-vtable-marking.cpp Don't let virtual calls and dynamic casts call Sema::MarkVTableUsed(). 2015-01-26 06:23:36 +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
dllexport-pr22591.cpp Improve diagnostic when failing to synthesize implicit member due to dllexport (PR22591) 2015-02-21 01:07:24 +00:00
dllexport.cpp Warn about dllexported explicit class template instantiation declarations (PR22035) 2015-01-15 21:18:30 +00:00
dllimport.cpp Don't allow dllimport/export on classes with internal linkage (PR21399) 2014-11-03 16:09:16 +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 When we generate a redeclaration for an 2014-05-14 18:31:48 +00:00
empty-class-layout.cpp PR6037 2015-01-19 01:44:02 +00:00
enable_if.cpp Improve handling of value dependent expressions in __attribute__((enable_if)), both in the condition expression and at the call site. Fixes PR20988! 2014-12-16 06:12:01 +00:00
enum-bitfield.cpp A conversion from a scoped enumeration bitfield to an integral type is an 2015-03-28 00:31:40 +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 Look through sugar when determining whether a type is a scoped enumeration 2015-01-14 00:33:10 +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 clang/test/SemaCXX/err_init_conversion_failed.cpp: Tweak for i686-msvc. 2014-05-20 15:44:42 +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-seh.cpp Re-land r228258 and make clang-cl's /EHs- disable -fexceptions again 2015-02-05 18:56:03 +00:00
exceptions.cpp Sema: Caught exception objects should be unqualified 2015-03-03 04:38:34 +00:00
explicit.cpp Implement the remaining portion of DR1467 from r227022. I may have overlooked a few things, but this implementation comes straight from the DR resolution itself. 2015-01-27 18:47:05 +00:00
expression-traits.cpp PR17052 / DR1560 (+DR1550): In a conditional expression between a glvalue and a 2014-01-27 04:19:56 +00:00
expressions.cpp [SemaCXX] Silence -Wconstant-logical-operand if the operand is a 0/1 from a macro. 2014-04-28 00:20:16 +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: Inherit the flexible array property from struct fields 2014-09-24 11:04:09 +00:00
fntype-decl.cpp
for-range-dereference.cpp Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
for-range-examples.cpp Minor tweaks to r229447 to ensure the attribute is properly quoted when diagnosed. 2015-02-16 23:12:37 +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-nopedantic.cpp Move one more diagnostic into the new -Wformat-pedantic group. 2015-03-04 14:18:20 +00:00
format-strings-0x.cpp Add a format warning for "%p" with non-void* args 2015-03-04 03:12:10 +00:00
format-strings.cpp PR20356: Fix all Sema warnings with mismatched ext_/warn_ versus 2014-07-19 01:39:17 +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 Regression test for RP6954. 2015-02-16 18:27:41 +00:00
funcdname.cpp [-fms-extensions] Add tests for __FUNCDNAME__ 2014-04-13 02:29:55 +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
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 Revert "Don't require -re suffix on -verify directives with regexes." 2013-12-14 01:07:05 +00:00
generalized-deprecated.cpp Minor tweaks to r229447 to ensure the attribute is properly quoted when diagnosed. 2015-02-16 23:12:37 +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 Reword switch/goto diagnostics "protected scope" diagnostics. Making up a term 2014-09-06 00:24:58 +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 Handle use of default member initializers before end of outermost class 2014-11-17 23:36:45 +00:00
implicit-int.cpp
implicit-member-functions.cpp Use the appropriate SourceLocation for the template backtrace when doing 2014-01-11 02:37:12 +00:00
implicit-virtual-member-functions.cpp Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +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
integer-overflow.cpp Catch more cases when diagnosing integer-constant-expression overflows. 2015-02-04 21:50:20 +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 Reject varargs '...' in function prototype if there are more parameters after 2014-08-11 23:30:23 +00:00
lambda-expressions.cpp PR21857: weaken an incorrect assertion. 2015-02-11 01:48:47 +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_explicit_init_list_hack.cpp PR21565 Add an egregious hack to support broken libstdc++ headers that declare 2014-11-14 00:37:55 +00:00
libstdcxx_is_pod_hack.cpp SemaCXX: Don't crash when annotation tokens show up before the tag name 2014-12-29 02:14:26 +00:00
libstdcxx_map_base_hack.cpp
libstdcxx_pair_swap_hack.cpp PR21565: Further refine the conditions for enabling eager parsing of 2014-11-20 22:32:11 +00:00
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 Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00
linkage2.cpp Exclude invalid old decl from mismatching linkage assertion 2014-03-06 21:48:45 +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 Unify warnings/errors from "maybe you meant" to "did you mean". 2015-04-02 22:10:06 +00:00
member-init.cpp Sema: Dependent array designators cannot be checked 2015-01-09 01:39:09 +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 MS ABI: Handle member function pointers returning a member data pointer 2014-08-07 22:56: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 Remove a recovery attempt that was untested and crashed when used. 2015-02-17 20:09:39 +00:00
member-pointers-2.cpp
microsoft-cxx0x.cpp Tweak diagnostic wording for init list narrowing 2014-05-17 01:13:18 +00:00
microsoft-dtor-lookup-cxx11.cpp Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
microsoft-dtor-lookup.cpp Don't let virtual calls and dynamic casts call Sema::MarkVTableUsed(). 2015-01-26 06:23:36 +00:00
microsoft-new-delete.cpp Improve the "braces around scalar init" warning to determine whether to warn 2015-02-12 01:50:05 +00:00
microsoft-varargs-diagnostics.cpp Sema: correct handling for __va_start for WoA 2014-07-22 02:01:04 +00:00
microsoft-varargs.cpp Sema: correct handling for __va_start for WoA 2014-07-22 02:01:04 +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 Be a bit smarter about what nested name qualifiers to allow when 2014-03-21 21:54:25 +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-friend-lookup.cpp MSVC compat: Allow lookup of friend types in enclosing namespaces 2014-07-10 23:44:52 +00:00
ms-interface.cpp Revert r218925 - "Patch to warn if 'override' is missing" 2014-10-03 09:02:53 +00:00
ms-novtable.cpp Parse: Handle __declspec in a lambda definition 2015-02-04 08:22:46 +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_integer_suffix.cpp Sema: The i8 suffix should yield a literal of type char 2015-03-06 18:04:22 +00:00
ms_mutable_reference_member.cpp [MSVC2012] Allow 'mutable' references 2015-02-04 04:45:32 +00:00
ms_struct.cpp Diagnose attempts to apply ms_struct to records with base classes 2014-02-27 20:30:49 +00:00
ms_wide_bitfield.cpp MS wide bitfield error check in Sema 2013-07-17 20:46:03 +00:00
namespace-alias.cpp [modules] Make NamespaceAliasDecl redeclarable, as it should be. This fixes 2014-09-03 23:11:22 +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
nested-name-spec.cpp Handle unscoped enumeration in nested name specifier. 2015-01-18 20:04:35 +00:00
new-array-size-conv.cpp PR6037 2015-01-19 01:44:02 +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 PR11410: Extend diagnostic to cover all cases of aggregate initialization, not 2014-06-03 07:28:54 +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 For variables with dependent type, don't crash on `var->::new` or `var->__super` 2015-02-16 22:32:46 +00:00
new-null.cpp Issue a warning if a throwing operator new or operator new[] returns a null 2014-01-17 02:09:33 +00:00
no-exceptions.cpp
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
nonnull.cpp Fix representation of __attribute__((nonnull)) to support correctly modeling 2014-08-27 04:59:42 +00:00
ns_returns_retained_block_return.cpp More tests for // rdar://17259812 2014-06-12 16:55:43 +00:00
null_in_arithmetic_ops.cpp PR16074, implement warnings to catch pointer to boolean true and pointer to 2014-02-26 02:36:06 +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 Improvements to -Wnull-conversion 2014-10-15 03:42:06 +00:00
nullptr_in_arithmetic_ops.cpp PR16074, implement warnings to catch pointer to boolean true and pointer to 2014-02-26 02:36:06 +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 Revert "Don't require -re suffix on -verify directives with regexes." 2013-12-14 01:07:05 +00:00
operator-arrow-temporary.cpp
out-of-line-def-mismatch.cpp
overload-0x.cpp Fix string-literal to char* conversion in overload resolution for C++11 2014-01-17 21:08:52 +00:00
overload-call-copycon.cpp
overload-call.cpp In C++98, if an rvalue reference binds to a function lvalue (or an xvalue or an 2014-07-14 19:54:05 +00:00
overload-decl.cpp If a function decl cannot be merged, mark it as invalid. 2015-01-17 02:33:17 +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 Don't perform ADL when looking up operator=; there is no non-member form of 2014-09-23 20:31:39 +00:00
override-in-system-header.cpp Further restrict issuance of 'override' warning if method 2014-11-03 19:46:18 +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
pr9812.cpp Fix for PR9812: warn about bool instead of _Bool. 2014-01-15 09:15:43 +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 Don't mark record decls invalid when one of its methods is invalid, PR18284. 2013-12-21 00:49:51 +00:00
pr18284-crash-on-invalid.cpp Don't mark record decls invalid when one of its methods is invalid, PR18284. 2013-12-21 00:49:51 +00:00
pragma-init_seg.cpp Parse: Don't attempt to act on #pragma init_seg when not targeting MSVC 2014-08-14 06:35:08 +00:00
pragma-optimize.cpp Instead of having -Os/-Oz add OptimizeForSize/MinSize first, and later 2014-12-11 20:14:04 +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-vtordisp.cpp MS ABI: Implement #pragma vtordisp() and clang-cl /vdN 2014-02-12 23:50:26 +00:00
pragma-weak.cpp [Sema] Fix assertion hit with #pragma weak. 2014-03-09 05:15:28 +00:00
predefined-expr.cpp Fix compatibility issues in tests for PredefinedExpr with MSVC. 2014-10-09 11:58:26 +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 Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +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 Unify warnings/errors from "maybe you meant" to "did you mean". 2015-04-02 22:10:06 +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 Revert "Don't require -re suffix on -verify directives with regexes." 2013-12-14 01:07:05 +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 Reverted OpenCL2.0 atomic type commits r231932, r231935 2015-03-11 17:26:37 +00:00
reinterpret-cast.cpp Revert "Don't require -re suffix on -verify directives with regexes." 2013-12-14 01:07: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 Pretty print support for template arg enum constants 2014-12-13 04:31:07 +00:00
return-stack-addr.cpp Don't produce a 'returning reference to local' warning if a lambda returns a 2014-01-30 22:05:38 +00:00
return.cpp Remove an assert that's not true on invalid code. 2015-01-04 20:32:12 +00:00
runtimediag-ppe.cpp Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
rval-references-examples.cpp Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +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 Warn when jumping out of a __finally block via goto. 2015-03-09 04:27:56 +00:00
self-comparison.cpp Add self-comparison warnings for fields. 2013-09-06 03:13:09 +00:00
shift.cpp
short-enums.cpp
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 Add the location of Decls to ast dump. 2014-04-02 05:48:29 +00:00
statements.cpp AST: Remove overzealous assertion from IsModifiable 2015-01-04 00:44:32 +00:00
static-array-member.cpp
static-assert.cpp Fix typo in r211394. 2014-06-20 19:58:05 +00:00
static-cast-complete-type.cpp
static-cast.cpp PR 17456 2015-01-28 21:31:26 +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 Sema: Don't diagnose string + int if the int is value dependent 2014-12-15 10:00:35 +00:00
struct-class-redecl.cpp Sema: Don't crash when an inject class name has a nested redefinition 2014-12-28 09:18:54 +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-blocks.cpp Added a test to ensure -Wimplicit-fallthrough works with -fblocks correctly. 2014-06-25 08:09:35 +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 Fix "warning: fallthrough annotation does not directly precede switch label" in lambdas. 2014-06-24 15:28:21 +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
template-implicit-vars.cpp Extend AST dump to include 'used' and 'referenced' flags, and put 'invalid' flag in the right place. 2014-06-13 02:24:47 +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
thread-safety-reference-handling.cpp Take the non-reference type when constructing a dummy expression. 2015-03-16 21:49:43 +00:00
trailing-return-0x.cpp C++1y is now C++14! 2014-08-19 15:55:55 +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
type-definition-in-specifier.cpp Fix treatment of types defined in function prototype 2014-06-25 17:09:41 +00:00
type-dependent-exprs.cpp
type-formatting.cpp
type-traits-incomplete.cpp
type-traits.cpp Fix isTriviallyCopyableType for arrays 2015-01-21 19:39:10 +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 type_info objects are not unnamed_addr: the ABI requires us to 2014-02-08 03:26:05 +00:00
typeid.cpp Sema: Don't permit variably modified types in typeid 2014-11-21 21:09:12 +00:00
types_compatible_p.cpp Continue parsing an expression list even after an error is encountered. 2014-07-14 22:48:10 +00:00
typo-correction-delayed.cpp Diagnose delayed typos in an expr list that is in an invalid expression. 2015-03-27 01:44:47 +00:00
typo-correction.cpp [lex] Provide a valid token when __has_include is found outside of a pp directive 2015-03-29 19:05:27 +00:00
unary-real-imag.cpp
undefined-inline.cpp Don't warn about undefined inline functions if they're dllexport/import 2014-05-22 20:45:53 +00:00
undefined-internal.cpp Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
underlying_type.cpp PR19966: don't crash/assert when __underlying_type is applied to an incomplete 2014-06-12 00:01:45 +00:00
uninit-variables-conditional.cpp
uninit-variables.cpp PR19996: don't crash if -Wuninitialized sees a c++1y lambda init-capture. 2014-06-11 00:31:00 +00:00
uninitialized.cpp Make -Wuninitialized warn on pointer-to-member and comma operators. 2015-03-03 14:54: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 C++1y is now C++14! 2014-08-19 15:55:55 +00:00
unreachable-catch-clauses.cpp Partial revert of r229336; this wasn't intended to go in. 2015-02-15 22:18:04 +00:00
unreachable-code.cpp [-Wunreachable-code] add a specialized diagnostic for unreachable increment expressions of loops. 2014-03-21 06:02:36 +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
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 Fix diagnostic for static methods referencing fields from using decls 2014-12-18 00:42:51 +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-class.cpp Add a -Wclass-varargs to warn on objects of any class type being passed through an ellipsis. Since C++11 relaxed the rules on this, we allow a lot more bad code through silently, such as: 2014-02-28 01:36:39 +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 Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
vector-casts.cpp Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
vector-no-lax.cpp
vector.cpp Print detailed vector type information on diagnostics. 2014-04-25 20:41:38 +00:00
virtual-base-used.cpp Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +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 Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
virtual-override.cpp PR6037 2015-01-19 01:44:02 +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 PR18581: Attempt to complete the type in a VLA declaration before checking 2014-02-08 02:30:49 +00:00
vtable-instantiation.cpp Rename test.cc files to test.cpp. 2014-12-22 18:13:07 +00:00
vtordisp-mode.cpp MS ABI: Implement #pragma vtordisp() and clang-cl /vdN 2014-02-12 23:50:26 +00:00
warn-absolute-value-header.cpp Consolidate header inclusion diagnostics 2014-07-11 20:53:51 +00:00
warn-absolute-value.cpp Make -Wabsolute-value C++-aware. 2014-04-15 23:47:53 +00:00
warn-address.cpp Add existing warnings to -Waddress so that it works closer to what GCC has. 2014-03-26 01:55:33 +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 -Wdynamic-class-memaccess: Also warn about array types. 2015-03-21 17:56:44 +00:00
warn-bool-conversion.cpp Extend tautological pointer compare and pointer to bool conversion warnings to 2014-08-08 22:41:43 +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 Explicitly keep track of temporaries during the consumed analysis. 2014-05-08 11:50:00 +00:00
warn-consumed-parsing.cpp Attributes accepting an EnumArgument are allowed to pass a string literal, or an identifier. VariadicEnumArguments now behave consistently instead of only accepting a string literal. 2014-12-19 16:42:04 +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 -Wempty-body: fix false negative triggered by macros 2015-03-15 01:08:23 +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 Don't emit exit-time destructor warnings for trivial explicitly defaulted dtors 2014-03-27 20:23:36 +00:00
warn-float-conversion.cpp Change -Wfloating-point-conversion to -Wfloat-conversion. 2014-04-23 21:53:59 +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 Add a missing Invalid check to SubobjectDesignator::isOnePastEnd() 2014-07-23 23:24:25 +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-infinite-recursion.cpp Ignore qualified templated functions for -Winfinite-recursion. This treats 2014-01-04 01:57:42 +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 -Wdynamic-class-memaccess: Also warn about array types. 2015-03-21 17:56:44 +00:00
warn-memsize-comparison.cpp Warn on mismatched parentheses in memcmp and friends. 2013-12-26 23:38:39 +00:00
warn-missing-noreturn.cpp
warn-missing-prototypes.cpp Sema: Don't emit a missing prototype warning for deleted functions. 2015-03-12 14:28:47 +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 Issue a warning if a throwing operator new or operator new[] returns a null 2014-01-17 02:09:33 +00:00
warn-overloaded-virtual.cpp Updating a comment related to the implementation of -Woverloaded-virtual, and adding a FIXME to a test case. (Drive-by removal of trailing whitespace in the test case as well.) 2014-07-30 23:50:53 +00:00
warn-pure-virtual-call-from-ctor-dtor.cpp
warn-reinterpret-base-class.cpp PR6037 2015-01-19 01:44:02 +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 PR12214 - Warn on suspicious self-compound-assignments. 2014-05-30 00:15:04 +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-self-move.cpp Extend the self move warning to record types. 2015-01-13 02:32:02 +00:00
warn-shadow.cpp Render anonymous entities as '(anonymous <thing>)' (and lambdas as '(lambda at ... )') 2014-04-02 05:58:29 +00:00
warn-sign-conversion.cpp Render anonymous entities as '(anonymous <thing>)' (and lambdas as '(lambda at ... )') 2014-04-02 05:58:29 +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 Broaden -Wstring-conversion to catch string literals in logical or expressions. 2014-01-25 01:10:35 +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-tautological-compare.cpp Extend tautological pointer compare and pointer to bool conversion warnings to 2014-08-08 22:41:43 +00:00
warn-tautological-undefined-compare.cpp Extend tautological pointer compare and pointer to bool conversion warnings to 2014-08-08 22:41:43 +00:00
warn-thread-safety-analysis.cpp Thread Safety Analysis: support adopting of locks, as implemented in 2015-02-04 21:16:17 +00:00
warn-thread-safety-negative.cpp When cloning LocalInstantiationScope's, don't update the current scope in Sema. 2015-03-18 21:52:47 +00:00
warn-thread-safety-parsing.cpp None of these attributes require FunctionTemplate to be explicitly listed as part of their subject definition. FunctionTemplateDecls are not what the attribute appertains to in the first place -- it attaches to the underlying FunctionDecl. 2014-05-20 14:10:53 +00:00
warn-thread-safety-verbose.cpp Thread safety analysis: add -Wthread-safety-verbose flag, which adds additional notes that are helpful when compiling statistics on thread safety warnings. 2014-08-14 21:40:15 +00:00
warn-undefined-bool-conversion.cpp Extend tautological pointer compare and pointer to bool conversion warnings to 2014-08-08 22:41:43 +00:00
warn-unreachable.cpp -Wunreachable-code: refine recognition of unreachable "sigil" to cope with implicit casts in C++. 2014-04-16 07:26:09 +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 No longer emit diagnostics about unused results (comparisons, etc) from unevaluated contexts. Fixes PR18571. 2014-10-16 20:13:28 +00:00
warn-unused-filescoped.cpp Add -Wunused-local-typedef, a warning that finds unused local typedefs. 2014-09-06 01:25:55 +00:00
warn-unused-label-error.cpp PR19305: Don't issue -Wunused-variable warnings on variable templates. It's not 2014-04-02 18:28:36 +00:00
warn-unused-local-typedef-serialize.cpp Temporary XFAILs for Hexagon 2015-03-04 23:40:38 +00:00
warn-unused-local-typedef-x86asm.cpp Move x86-specific bits of warn-unused-local-typedef.cpp into their own file. 2014-09-06 18:16:37 +00:00
warn-unused-local-typedef.cpp Mark TypeDecls used in explicit destructor calls as referenced. 2014-11-12 04:33:52 +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-delayed-template.cpp clang-cl: Don't warn for unused private fields when encountering a late parsed template member 2014-10-11 00:24:15 +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 Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
warn-unused-value-cxx11.cpp Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. 2014-12-17 21:57:17 +00:00
warn-unused-value.cpp Volatile reads are side-effecting operations, but in the general case of access through a volatile-qualified type, we're not certain of the underlying object's side-effects on access. 2015-01-03 17:00:12 +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 PR19558: don't produce an "unused variable" warning for a variable template partial specialization. 2014-04-25 19:21:40 +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 Don't let virtual calls and dynamic casts call Sema::MarkVTableUsed(). 2015-01-26 06:23:36 +00:00
wchar_t.cpp
windows-arm-valist.cpp test: move test from CodeGen to Sema 2014-06-30 02:14:37 +00:00
writable-strings-deprecated.cpp Move the C++11 ExtWarn for converting a string literal to 'char*' out of 2014-04-22 01:11:06 +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