hanchenye-llvm-project/clang/test/Sema
John McCall c87d97231d Add -Wstatic-local-in-inline, which warns about using a static local
variable in a C99 inline (but not static-inline or extern-inline)
function definition.

The standard doesn't actually say that this doesn't apply to
"extern inline" definitions, but that seems like a useful extension,
and it at least doesn't have the obvious flaw that a static
mutable variable in an externally-available definition does.

rdar://13535367

llvm-svn: 178520
2013-04-02 02:48:58 +00:00
..
Inputs Add a test for r156092. 2012-05-03 23:38:51 +00:00
128bitint.c Reject uses of __int128 on platforms that don't support it. Also move the ugly 2012-11-29 05:41:51 +00:00
2007-10-01-BuildArrayRef.c
2009-03-09-WeakDeclarations-1.c
2009-04-22-UnknownSize.c
2009-07-17-VoidParameter.c
2010-05-31-palignr.c
MicrosoftCompatibility-x64.c Allowing individual targets to determine whether a given calling convention is allowed or ignored with warning. This allows for correct name mangling for x64 targets on Windows, which in turn allows for linking against the Win32 APIs. 2012-10-02 14:26:08 +00:00
MicrosoftCompatibility-x86.c Changing line endings from Windows to Unix. No functional changes. 2012-10-05 19:46:32 +00:00
MicrosoftCompatibility.c Splitting this test case into two because the behavior for the calling convention code is target-specific. 2012-10-02 14:56:00 +00:00
MicrosoftExtensions.c Unify the codepaths for emitting deprecation warnings. The test changes are just to account for us emitting notes more consistently. 2012-08-08 21:52:41 +00:00
PR2727.c 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
PR2728.c 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
PR2919-builtin-types-compat-strips-crv.c
PR2923.c 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
PR2963-enum-constant.c Pedantic diagnostic correction: in C++, we have integral constant expressions, 2012-01-15 03:51:30 +00:00
__try.c
address-constant.c 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
address_spaces.c Fix assertion failure when a field is given an address space. 2013-02-26 21:16:00 +00:00
align-arm-apcs.c 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
align-x86-64.c 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
align-x86.c 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
alignas.c Fix diagnostic for bad alignas use: it can't be applied to functions. 2013-02-01 08:25:07 +00:00
alloc_size.c When a parameter list in a C function has an error, recover by forming a K&R function, 2013-02-22 06:58:32 +00:00
altivec-init.c
annotate.c Currently __builtin_annotation() only annotates an i32. 2012-04-28 17:39:16 +00:00
anonymous-struct-union-c11.c Don't warn about anonymous struct/union in C11. 2012-02-03 15:47:04 +00:00
anonymous-struct-union.c 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
arg-duplicate.c
arg-scope-c99.c 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
arg-scope.c 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
arm-asm.c Add a missing 'break' to ensure that we reject inline assembly 2012-08-16 23:50:41 +00:00
arm-layout.c 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
arm-neon-types.c Unpluralize -Wfoo-conversions warnings for consistency. 2012-03-15 05:09:31 +00:00
array-bounds-ptr-arith.c Teach IsTailPaddedMemberArray() (used by -Warray-bounds) that a FieldDecl may have a Typedef type, and not always a ConstantArrayType. 2012-05-09 05:35:08 +00:00
array-constraint.c
array-declared-as-incorrect-type.c
array-init.c PR13881: Add -Wzero-length-array for zero length array extension, and move it into -Wgnu. 2012-09-20 01:02:05 +00:00
array-size-64.c
array-size.c
asm.c Simplify test to use a count for the number of notes expected. 2013-03-27 23:26:09 +00:00
assign-null.c 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
assign.c
ast-print.c Correct printing of nested anonymous type member accesses. 2012-11-12 19:12:12 +00:00
atomic-ops.c Add test for PR12527 (bug has apparently already been fixed). 2013-04-01 17:41:23 +00:00
atomic-type.c Make sure to try instantiating a templated type which is used in an _Atomic 2012-02-11 18:03:45 +00:00
attr-alias.c
attr-aligned.c Make sure that we recognize __attribute__((align)) as a synonym for 2012-05-11 23:01:43 +00:00
attr-args.c
attr-availability-ios.c with -Wdeprecated, include a note to its deprecated declaration 2012-04-23 20:30:52 +00:00
attr-availability-macosx.c availability in structured documents. Takes 2012-10-01 18:42:25 +00:00
attr-availability.c Clear LV cache when dropping availability attributes. 2013-01-08 22:31:36 +00:00
attr-cleanup.c The meat of this patch is in BuildCXXMemberCalLExpr where we make it use 2013-02-12 08:08:54 +00:00
attr-coldhot.c Add support for __attribute__((hot)) and __attribute__((cold)). 2012-05-12 21:10:52 +00:00
attr-decl-after-definition.c Without this patch clang warns on 2012-07-15 01:33:40 +00:00
attr-declspec-ignored.c
attr-deprecated-message.c Unify the codepaths for emitting deprecation warnings. The test changes are just to account for us emitting notes more consistently. 2012-08-08 21:52:41 +00:00
attr-deprecated.c Handle deprecation diagnostics correctly for C struct fields and Objective-C properties/ivars. <rdar://problem/6642337>. 2012-08-08 23:04:35 +00:00
attr-format.c
attr-format_arg.c
attr-malloc.c
attr-minsize.c Update the front end to use minsize attribute 2012-11-01 23:55:47 +00:00
attr-mode.c Add support for attribute((mode(unwind_word))). 2013-01-07 19:58:54 +00:00
attr-naked.c
attr-nodebug.c Emit debug info for dynamic initializers. Permit __attribute__((nodebug)) on 2012-07-24 01:40:49 +00:00
attr-noinline.c
attr-noreturn.c
attr-print.c [Sema][Attr]Fix alignment attribute printing. 2013-02-01 01:19:17 +00:00
attr-regparm.c Fix typo 'with with' in diagnostic. 2013-02-21 23:15:05 +00:00
attr-returns-twice.c
attr-section.c Produce a warning for mismatched section attributes. Completest pr9356. 2012-05-13 02:42:42 +00:00
attr-sentinel.c
attr-tls_model.c Add triple to test/Sema/attr-tls_model.c 2012-06-23 13:16:37 +00:00
attr-unavailable-message.c Unify the codepaths for emitting deprecation warnings. The test changes are just to account for us emitting notes more consistently. 2012-08-08 21:52:41 +00:00
attr-unknown.c
attr-unused.c
attr-used.c Check that we don't warn on this testcase. This is basically a test that 2012-11-23 13:54:40 +00:00
attr-visibility.c Add a new 'type_visibility' attribute to allow users to 2013-02-20 01:54:26 +00:00
attr-weak.c Check for internal weak decls after merging. 2013-01-16 23:11:15 +00:00
bitfield-layout.c 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
bitfield-promote.c 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
bitfield.c
block-args.c
block-call.c
block-explicit-noreturn-type.c
block-labels.c
block-literal.c
block-misc.c
block-printf-attribute-1.c Add "multiple format attributes" support on block. 2012-01-25 00:55:11 +00:00
block-return-1.c
block-return-2.c
block-return-3.c
block-return.c Further weaken block conversion rules to permit blocks with 2013-03-21 00:10:07 +00:00
block-sentinel-attribute.c Minor refactoring of sentinel warning on blocks. Add a test for this warning. 2012-01-06 01:23:10 +00:00
block-storageclass.c 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-object-size.c
builtin-prefetch.c
builtin-stackaddress.c
builtin-unary-fp.c
builtin_objc_msgSend.c 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.c Fix PR 11709: Change the definition of va_list to meet AAPCS requirement 2012-10-10 06:56:20 +00:00
builtins-decl.c 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.c Add tests to check recent changes to some builtins. 2012-12-18 21:09:25 +00:00
c11-typedef-redef.c Extend test-case as requested by Eli 2012-01-11 22:43:46 +00:00
c89.c Change the wording of the extension warning from 2012-09-24 18:19:21 +00:00
callingconv.c Downgrade 'attribute ignored when parsing type' from error to warning, to match 2013-01-29 10:02:16 +00:00
carbon.c
cast-incomplete.c
cast-to-union.c Tweak wording and add diagnostic groups to misc diagnostics. 2012-11-02 01:40:23 +00:00
cast.c Implement GCC's -Wint-to-pointer-cast. 2012-10-16 18:53:14 +00:00
check-increment.c 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.c Enhance -Wtautological-constant-out-of-range-compare to include the name of the enum constant. 2013-03-15 21:50:10 +00:00
complex-imag.c PR15132: Replace "address expression must be an lvalue or a function 2013-02-02 02:14:45 +00:00
complex-init-list.c Implement the missing pieces of Evaluate for _Complex types. With that complete, remove some code from CGExprConstant which is no longer necessary. While I'm here, a couple minor tweaks to _Complex-in-C++. (Specifically, make _Complex types literal types, and don't warn for _Complex int.) 2012-01-10 04:58:17 +00:00
complex-int.c
complex-promotion.c 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
compound-literal.c Fix directive parsing in VerifyDiagnosticConsumer so that it ensures that "expected" is at the start of the word and will no longer accept typos such as "junkexpected-*" as a valid "expected-*" directive. A very few test-cases had to be amended to adhere to the new rule. 2012-10-19 12:36:49 +00:00
conditional-expr.c Fix a typo (the the => the) 2012-07-23 08:59:39 +00:00
conditional.c
const-eval-64.c 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
const-eval.c Don't treat overflow in floating-point conversions as a hard error in constant evaluation. <rdar://problem/11874571>. 2012-07-17 21:03:05 +00:00
const-ptr-int-ptr-cast.c 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
constant-builtins-2.c Expose __builtin_bswap16. 2012-10-06 14:42:22 +00:00
constant-builtins.c 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
constant-conversion.c Revert r178273 as it broke the Linux bootstrap due to false positives 2013-03-29 00:22:03 +00:00
constructor-attribute.c
conversion-64-32.c Warn on 64-to-32 for source value of x bits where 64 >= x > 32. 2012-04-12 22:40:54 +00:00
conversion.c
crash-invalid-array.c
darwin-align-cast.c 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
decl-in-prototype.c Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
decl-invalid.c 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
decl-type-merging.c
declspec.c 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
default.c Generalize -Wempty-body: warn when statement body is empty (closes: PR11329) 2012-02-14 22:14:32 +00:00
default1.c
deref.c
designated-initializers.c
dllimport-dllexport.c Fix an old (2009) FIXME: 2012-05-10 02:50:16 +00:00
enum-packed.c Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
enum.c Fix a couple of nasty bugs involving negative enum constants. <rdar://problem/10760113>. 2012-02-07 04:34:38 +00:00
expr-address-of.c PR15132: Replace "address expression must be an lvalue or a function 2013-02-02 02:14:45 +00:00
expr-comma-c99.c Sema: Warn on sizeof on binary ops on decayed arrays. 2013-03-29 21:43:21 +00:00
expr-comma.c Sema: Warn on sizeof on binary ops on decayed arrays. 2013-03-29 21:43:21 +00:00
exprs.c Diagnose uses of 'alignof' on functions in -pedantic mode. 2013-03-18 23:37:25 +00:00
ext_vector_casts.c
ext_vector_comparisons.c
ext_vector_components.c
extern-redecl.c Only merge down a variable type if the previous declaration was 2013-04-01 18:34:28 +00:00
flexible-array-init.c
floating-point-compare.c
fn-ptr-as-fn-prototype.c Reapply r151638 and r151641. 2012-02-29 10:24:19 +00:00
for.c
format-string-percentm.c 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
format-strings-c90.c -Wformat-non-iso: warn about positional arguments (pr12017) 2012-03-09 10:10:54 +00:00
format-strings-darwin.c Format strings: offer a fixit for Darwin's %D/%U/%O to ISO %d/%u/%o. 2012-09-13 02:11:15 +00:00
format-strings-enum-fixed-type.cpp Teach printf/scanf about enums with fixed underlying types. 2012-06-04 22:48:57 +00:00
format-strings-enum.c Teach printf/scanf about enums with fixed underlying types. 2012-06-04 22:48:57 +00:00
format-strings-fixit-ssize_t.c
format-strings-fixit.c Format strings: don't ever convert %+d to %lu. 2013-01-17 22:34:10 +00:00
format-strings-gnu.c Format strings: %Ld isn't available on Darwin or Windows. 2012-09-08 04:00:03 +00:00
format-strings-int-typedefs.c Tighten format string diagnostic and make it a bit clearer (and a bit closer to GCC's). 2012-01-20 21:52:58 +00:00
format-strings-no-fixit.c
format-strings-non-iso.c Format strings: suggest %lld instead of %qd and %Ld with -Wformat-non-iso. 2012-09-08 04:00:12 +00:00
format-strings-scanf.c clang/test/Sema/format-strings-scanf.c: Relax a couple of expressions with expected-warning-re to let matched for Win32 targets. 2012-09-08 12:06:00 +00:00
format-strings-size_t.c Revert "intmax_t is long long on Darwin, not long." 2013-02-20 22:28:41 +00:00
format-strings.c Add a comment to test to clarify the intention here 2013-01-12 22:39:30 +00:00
fp16-sema.c
fpack-struct.c Unify Options.td and CC1Options.td, in a first step towards unifying the serialization logic in Frontend and Driver. 2012-05-01 14:57:16 +00:00
freemain.c
function-ptr.c
function-redecl.c Reject incompatible redeclarations of extern C symbols. 2013-01-11 19:34:23 +00:00
function.c Make sure to consider non-DeclContext scopes properly when finding 2012-01-13 23:06:53 +00:00
generic-selection.c
gnu89.c Implement a fixit for -Wmain-return-type 2013-01-17 00:26:13 +00:00
heinous-extensions-off.c
heinous-extensions-on.c Fix grammar-o. 2012-10-26 07:02:46 +00:00
i-c-e.c PR14729: Fix typo in CheckICE for BinaryConditionalOperators. 2012-12-28 12:53:55 +00:00
illegal-types.c
implicit-builtin-decl.c Fix fmin*/fmax* library builtin signatures. 2012-05-08 18:29:52 +00:00
implicit-builtin-freestanding.c 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
implicit-builtin-redecl.c
implicit-cast-dump.c Add indents to AST dumping and removed parenthesis from AST nodes. 2013-01-31 01:44:26 +00:00
implicit-cast.c
implicit-decl.c Convert SemaDecl.cpp to pass callback objects to CorrectTypo. 2012-01-18 21:41:41 +00:00
implicit-def.c
implicit-int.c
incompatible-sign.c
incomplete-call.c
incomplete-decl.c
indirect-goto.c
init-struct-qualified.c 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
init-vector.c 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
init.c Move the test for PR13720 from Sema/init.c to Sema/thread-specifier.c. 2012-08-29 09:04:10 +00:00
initialize-noreturn.c
inline-redef.c
inline.c Add -Wstatic-local-in-inline, which warns about using a static local 2013-04-02 02:48:58 +00:00
int-arith-convert.c 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
invalid-cast.cpp Testcase for r174477. 2013-02-07 18:32:25 +00:00
invalid-decl.c In LookupResult::resolveKind(), when handling multiple found declarations, ignore invalid declarations. 2013-02-22 06:58:37 +00:00
invalid-init-diag.c
invalid-struct-init.c Fix parsing of type-specifier-seq's. Types are syntactically allowed to be 2012-03-12 07:56:15 +00:00
knr-def-call.c Improve some of the conversion warnings to fire on conversion to bool. 2012-05-15 16:56:36 +00:00
knr-variadic-def.c 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
many-logical-ops.c 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
many-parameters.c
member-reference.c 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
memset-invalid-1.c c: When checking on validity of sizeof passed as size of 2013-01-30 01:12:44 +00:00
memset-invalid.c
merge-decls.c Merge function types in C. 2012-11-29 16:09:03 +00:00
mips16_attr_allowed.c First step in implementation of mips16 and nomips16 attributes. 2013-01-16 17:10:28 +00:00
mips16_attr_not_allowed.c First step in implementation of mips16 and nomips16 attributes. 2013-01-16 17:10:28 +00:00
missing-field-initializers.c
mms-bitfields.c 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-inline-asm-invalid-arch.c [ms-inline asm] Add an error when trying to compile MS-style inline assembly 2013-01-24 20:24:34 +00:00
ms-inline-asm.c Fail these tests in a way that doesn't cause unexpected successes, per Daniel's 2013-01-24 20:46:39 +00:00
ms_class_layout.cpp Test verified. 2012-05-01 19:57:05 +00:00
ms_wide_predefined_expr.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
neon-vector-types.c
nested-redef.c
no-format-y2k-turnsoff-format.c Make this test actually test something 2012-09-26 09:02:07 +00:00
nonnull.c
nowarn-documentation-property.m comment parsing: Properties are considered like methods, and people 2013-02-27 00:46:06 +00:00
offsetof.c
outof-range-constant-compare.c Improvements to my patch in r164143 per 2012-09-20 19:36:41 +00:00
overloadable-complex.c
overloadable.c
overloaded-func-transparent-union.c 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
parentheses.c Use a single note diagnostic for all the precedent/parentheses warnings. 2012-10-08 01:19:49 +00:00
parentheses.cpp Sema: Don't crash when trying to emit a precedence warning on postinc/decrement. 2013-03-30 11:56:00 +00:00
pid_t.c Test for r168674. 2012-11-27 02:58:49 +00:00
pointer-addition.c
pointer-conversion.c
pointer-subtract-compat.c
ppc-bool.c Fix a trivial bool-related bug I spotted while skimming David Fang's 2012-11-15 01:21:59 +00:00
pragma-align-mac68k-unsupported.c
pragma-align-mac68k.c 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-align-packed.c 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-arc-cf-code-audited.c
pragma-ms_struct.c Make -mms-bitfields behave consistently. 2012-10-12 23:29:20 +00:00
pragma-pack-2.c 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-pack-3.c 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-pack-4.c 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-pack-5.c 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-pack-6.c 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-pack-and-options-align.c Permanently end the whole "pragma got handled by the parser too early" 2012-10-04 02:36:51 +00:00
pragma-pack-apple.c
pragma-pack.c
pragma-unused.c
predef.c
predefined-function.c
private-extern.c c: privide deprecated warning when __private_extern__ storage 2012-08-17 21:44:55 +00:00
rdr6094103-unordered-compare-promote.c
recover-goto.c
redefinition.c
return-noreturn.c Semantic analysis and CodeGen support for C11's _Noreturn. This is modeled as 2013-01-30 05:45:05 +00:00
return-silent.c 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
return.c For -Wignored-qualifiers, don't warn on qualifiers which we acquire via a 2013-03-28 03:27:52 +00:00
scope-check.c
self-comparison.c
sentinel-attribute.c
shift.c
short-enums.c 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
sign-conversion.c
statements.c Generalize -Wempty-body: warn when statement body is empty (closes: PR11329) 2012-02-14 22:14:32 +00:00
static-array.c Allow 'static' and type qualifiers in K&R parameter type lists. 2012-08-15 19:53:19 +00:00
static-assert.c Made the "expected string literal" diagnostic more expressive 2012-11-17 19:16:52 +00:00
static-init.c
stdcall-fastcall-x64.c Changing line endings from Windows to Unix. No functional changes. 2012-10-05 19:46:32 +00:00
stdcall-fastcall.c Allowing individual targets to determine whether a given calling convention is allowed or ignored with warning. This allows for correct name mangling for x64 targets on Windows, which in turn allows for linking against the Win32 APIs. 2012-10-02 14:26:08 +00:00
struct-cast.c 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
struct-compat.c
struct-decl.c 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
struct-packed-align.c 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
surpress-deprecated.c 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
switch-1.c c: Also chek for integer overflow for '%' operator. 2013-03-15 17:03:56 +00:00
switch.c Add new -Wunique-enum which will warn on enums which all elements have the 2012-05-30 01:01:11 +00:00
template-specialization.cpp Fix for assertion when solving unresolved templates. 2012-08-28 04:13:54 +00:00
tentative-decls.c c: privide deprecated warning when __private_extern__ storage 2012-08-17 21:44:55 +00:00
text-diag.c
thread-specifier.c Move the test for PR13720 from Sema/init.c to Sema/thread-specifier.c. 2012-08-29 09:04:10 +00:00
tls.c Set TLSSupported to false on Haiku. 2012-11-08 12:59:15 +00:00
transparent-union-pointer.c 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
transparent-union.c
type-spec-struct-union.c
typecheck-binop.c
typedef-prototype.c 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
typedef-redef.c
typedef-retain.c
typedef-variable-type.c
typeof-use-deprecated.c Unify the codepaths for emitting deprecation warnings. The test changes are just to account for us emitting notes more consistently. 2012-08-08 21:52:41 +00:00
types.c Downgrade 'attribute ignored when parsing type' from error to warning, to match 2013-01-29 10:02:16 +00:00
ucn-cstring.c Unify diagnostics for \x, \u, and \U without any following hex digits. 2013-01-24 20:50:13 +00:00
ucn-identifiers.c Handle universal character names and Unicode characters outside of literals. 2013-01-24 20:50:46 +00:00
uninit-det-order.c Fixed diagnostic nondeterministic order bug (pr14901). 2013-02-15 20:09:55 +00:00
uninit-variables-vectors.c
uninit-variables.c Teach -Wuninitialized to recognize __attribute__((analyzer_noreturn)) 2012-09-12 05:53:43 +00:00
unnamed-bitfield-init.c 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-expr-system-header.c Fix -Wunused-comparison for comparisons in arguments to function-like macros. 2013-01-12 00:54:16 +00:00
unused-expr.c Warn on dropping the return value from a warn_unused_result function, even in 2013-02-26 19:34:08 +00:00
usual-float.c
va_arg_x86_32.c
va_arg_x86_64.c 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
var-redecl.c
varargs-x86-64.c
varargs.c PR15132: Replace "address expression must be an lvalue or a function 2013-02-02 02:14:45 +00:00
varargs_unreachable.c Don't warn about undefined varargs argument behavior in unreachable code. 2013-01-08 01:50:40 +00:00
variadic-block.c 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
variadic-incomplete-arg-type.c Change diagnostic test for my last patch. 2012-03-02 17:05:03 +00:00
variadic-promotion.c Also promote fp16 types to double when they're anonymous variadic arguments. 2013-01-30 09:46:55 +00:00
vector-assign.c Unpluralize -Wfoo-conversions warnings for consistency. 2012-03-15 05:09:31 +00:00
vector-cast.c Fix directive parsing in VerifyDiagnosticConsumer so that it ensures that "expected" is at the start of the word and will no longer accept typos such as "junkexpected-*" as a valid "expected-*" directive. A very few test-cases had to be amended to adhere to the new rule. 2012-10-19 12:36:49 +00:00
vector-init.c
vector-ops.c Use raw_ostream in TypePrinter and eliminate uses of temporary std::strings. 2012-05-05 04:20:37 +00:00
vfprintf-invalid-redecl.c
vfprintf-valid-redecl.c 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
vla-2.c Make clang's AST model sizeof and typeof with potentially-evaluated operands correctly, similar to what we already do with typeid. 2012-01-21 01:01:51 +00:00
vla.c Fix a minor regression from my potentially-evaluated expression changes. 2012-02-06 23:29:57 +00:00
void_arg.c
warn-bad-function-cast.c make this test case 64bit test. It fails due to 2012-08-17 20:23:06 +00:00
warn-cast-align.c
warn-char-subscripts.c
warn-documentation-almost-trailing.c Enable comment parsing and semantic analysis to emit diagnostics. A few 2012-07-11 21:38:39 +00:00
warn-documentation-crlf.c Fix PR14591: Windows newlines in doxygen comments cause failed assertion in 2012-12-19 17:34:55 +00:00
warn-documentation-fixits.cpp Move the 'find macro by spelling' infrastructure to the Preprocessor class and 2012-09-29 11:40:46 +00:00
warn-documentation.cpp HeaderDoc: Support more of HeaderDoc documentation 2013-03-07 23:33:11 +00:00
warn-documentation.m documentation comment parsing. Added couple of 2013-03-18 23:45:52 +00:00
warn-duplicate-enum.c Add back -Wduplicate-enum which I mistakenly removed. 2012-12-22 01:34:09 +00:00
warn-freestanding-complex.c
warn-gnu-designators.c 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-main-return-type.c Implement a fixit for -Wmain-return-type 2013-01-17 00:26:13 +00:00
warn-main.c Fix test failure from previous change. 2013-01-30 06:27:44 +00:00
warn-missing-braces.c
warn-missing-prototypes.c When warning about a missing prototype because a function declaration is missing 'void', insert a fixit to add the void. 2012-12-18 01:29:20 +00:00
warn-missing-variable-declarations.c Delete junk that snuck into r166498. 2012-10-23 20:23:23 +00:00
warn-outof-range-assign-enum.c Issue warning when assigning out-of-range integer values to enums. 2012-07-17 18:00:08 +00:00
warn-self-assign-field.mm Turn -Wobjc-root-class on by default. <rdar://problem/11203649>. 2012-07-25 07:26:32 +00:00
warn-shadow.c
warn-sizeof-array-decay.c Sema: Warn on sizeof on binary ops on decayed arrays. 2013-03-29 21:43:21 +00:00
warn-sizeof-arrayarg.c
warn-strlcpycat-size.c
warn-strncat-size.c Address code review comments for Wstrncat-size warning (r161440). 2012-08-08 21:42:23 +00:00
warn-type-safety-mpi-hdf5.c Type safety attributes: add tests for enumerations (users are actually doing 2013-01-02 21:12:03 +00:00
warn-type-safety.c Handle CK_NullToPointer casts in -Wtype-safety properly. Fixes PR14249. 2012-11-03 16:07:49 +00:00
warn-type-safety.cpp Handle CK_NullToPointer casts in -Wtype-safety properly. Fixes PR14249. 2012-11-03 16:07:49 +00:00
warn-unreachable.c Change subexpressions to be visited in the CFG from left-to-right. 2013-02-05 22:00:19 +00:00
warn-unused-function.c c: make __attribute__((unused)) transitive. 2012-09-06 16:43:18 +00:00
warn-unused-label.c
warn-unused-parameters.c Undo patch for // rdar://10735698 2012-03-06 18:41:35 +00:00
warn-unused-value.c
warn-unused-variables-werror.c Warn about more than the first unused variable when -Werror is set. 2013-03-28 21:46:45 +00:00
warn-unused-variables.c
warn-vla.c Implement -Wvla correctly 2013-01-23 20:02:51 +00:00
warn-write-strings.c
wchar.c Add AArch64 wchar definition to test 2013-02-07 15:11:44 +00:00
weak-import-on-enum.c 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
x86-attr-force-align-arg-pointer.c
x86-builtin-palignr.c