hanchenye-llvm-project/clang/test/Sema
Aaron Ballman 75a1729c4b Added a Subjects clause to the section attribute and made its diagnostics more consistent with other attributes.
llvm-svn: 197104
2013-12-12 01:34:39 +00:00
..
Inputs Make the -Wkeyword-compat diag message more accurate 2013-12-09 12:41:02 +00:00
128bitfloat.cc Fix a crash with __flaot128 noticed by Eli. 2013-06-20 23:30:30 +00:00
128bitint.c Integers which are too large should be an error. 2013-07-23 00:25:18 +00:00
2007-10-01-BuildArrayRef.c Fix a test that hasn't worked since 2007 2013-12-08 18:49:05 +00:00
2009-03-09-WeakDeclarations-1.c Fix three tests that weren't checking anything 2013-12-08 22:22:31 +00:00
2009-04-22-UnknownSize.c Fix three tests that weren't checking anything 2013-12-08 22:22:31 +00:00
2009-07-17-VoidParameter.c Fix three tests that weren't checking anything 2013-12-08 22:22:31 +00:00
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 No longer accepting attribute spellings with prefix and suffix underscores except for GNU attributes, or C++11-style attributes in the GNU namespace. This prevents attributes such as __declspec(__dllexport__) or [[__noreturn__]] from being treated as known attributes. 2013-12-11 22:27:44 +00:00
MicrosoftCompatibility.cpp Adding in parsing and the start of semantic support for __sptr and __uptr pointer type qualifiers. This patch also fixes the correlated __ptr32 and __ptr64 pointer qualifiers so that they are truly type attributes instead of declaration attributes. 2013-05-22 23:25:32 +00:00
MicrosoftExtensions.c __declspec(uuid) is only supported for C++ code according to MSDN (as well as behaviorally in MSVC). This adds a generic diagnostic that we use for uuid, and can use for some other attributes as well, and adds a testcase. 2013-11-24 21:35:16 +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
__try.c
aarch64-neon-vector-types.c Remove REQUIRES aarch64-registered-target from test 2013-10-26 21:42:32 +00:00
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 Replacing err_attribute_argument_not_int with err_attribute_not_type_attr 2013-07-30 14:10:17 +00:00
alias-redefinition.c Treat aliases as definitions. 2013-10-22 21:39:03 +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 Fix alignof computation of large arrays on x86_64. 2013-08-08 19:53:46 +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 Replacing err_attribute_argument_not_int with err_attribute_not_type_attr 2013-07-30 14:10:17 +00:00
altivec-init.c
annotate.c err_attribute_not_string has been subsumed by err_attribute_argument_type. 2013-07-30 01:31:03 +00:00
anonymous-struct-union-c11.c
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 ARM: teach Sema that "r" can match 64-bit values 2013-12-08 15:24:55 +00:00
arm-darwin-aapcs.cpp size_t on Darwin AAPCS targets is "unsigned long". <rdar://problem/14136459> 2013-06-18 05:36:04 +00:00
arm-interrupt-attr.c Implement ARM GNU-style interrupt attribute 2013-10-01 14:34:25 +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 Define Neon intrinsics as "static inline" to avoid warning. rdar://13108414 2013-04-12 20:17:20 +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 Recognition of empty structures and unions is moved to semantic stage 2013-06-08 13:29:58 +00:00
array-size-64.c Limit number of bits in size representation so that bit size fit 64 bits. 2013-07-16 07:14:18 +00:00
array-size.c
asm.c Reject asm output constraints that consist of modifiers only. 2013-04-18 13:23:23 +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-expr.c Fix Sema for compares with _Atomic vars. 2013-07-08 20:20:06 +00:00
atomic-ops.c Handle init lists and _Atomic fields. 2013-08-19 22:12:56 +00:00
atomic-requires-library-error.c Patch to issue error when target of MacOS and iOS 2013-05-28 17:37:39 +00:00
atomic-type.c
attr-alias-elf.c New fix for pr17535. 2013-10-22 19:26:13 +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 Removing a number of individual run lines and replacing them with single line test cases. This reduces the number of test runs, provides the same coverage, and allows us to test that the attribute names are included in the diagnostic. 2013-07-23 19:37:19 +00:00
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 As Aaron pointed out it's simpler to reject wide string availability attr messages in the parser. 2013-09-13 17:31:48 +00:00
attr-bounded.c When parsing ignored attribute arguments, presuming the first argument is an unresolved identifier the same way that we do for unknown arguments. This resolves PR18075, where we regressed the handling of OpenBSD's bounded attribute. 2013-12-04 15:32:26 +00:00
attr-cleanup.c The cleanup attribute no longer uses an unresolved, simple identifier as its argument. Instead, it takes an expression that is fully resolved. 2013-09-11 01:37:41 +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 Merge attributes on typedef decls. 2013-07-16 02:07:49 +00:00
attr-endian.c Removing the endian attribute and updating associated test cases. This functionality was never completely implemented, and this is an improvement over silently eating the attribute. 2013-09-09 12:57:20 +00:00
attr-format.c Refactor some attributes to use checkFunctionOrMethodArgumentIndex instead of using custom logic. No functional changes intended. 2013-07-30 00:48:57 +00:00
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 Recommited: 2013-09-18 09:08:52 +00:00
attr-naked.c Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-nodebug.c Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-noinline.c Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-noreturn.c Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-ownership.c Switch attribute test line endings from CRLF 2013-10-20 19:04:19 +00:00
attr-print.c Adding in parsing and the start of semantic support for __sptr and __uptr pointer type qualifiers. This patch also fixes the correlated __ptr32 and __ptr64 pointer qualifiers so that they are truly type attributes instead of declaration attributes. 2013-05-22 23:25:32 +00:00
attr-regparm.c Replacing err_attribute_argument_not_int with err_attribute_not_type_attr 2013-07-30 14:10:17 +00:00
attr-returns-twice.c Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-section.c Added a Subjects clause to the section attribute and made its diagnostics more consistent with other attributes. 2013-12-12 01:34:39 +00:00
attr-sentinel.c
attr-tls_model.c err_attribute_not_string has been subsumed by err_attribute_argument_type. 2013-07-30 01:31:03 +00:00
attr-unavailable-message.c err_attribute_not_string has been subsumed by err_attribute_argument_type. 2013-07-30 01:31:03 +00:00
attr-unknown.c
attr-unused.c Added the attribute name to the err_attribute_wrong_number_arguments diagnostic for clarity; updated almost all of the affected test cases. 2013-07-23 19:30:11 +00:00
attr-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 Sema: Don't crash on visibility attributes with an identifier argument. 2013-09-09 15:08:57 +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 Grab-bag of bit-field fixes: 2013-05-06 21:39:12 +00:00
block-args.c Add a test case for blocks taking an array typedef 2013-06-08 18:51:21 +00:00
block-call.c
block-explicit-noreturn-type.c
block-labels.c
block-literal.c
block-misc.c Correct hyphenations in comments and assert messages 2013-12-05 04:47:09 +00:00
block-printf-attribute-1.c
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
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-clear_cache.c Allow clang to build __clear_cache on ARM. 2013-06-13 18:34:17 +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-aarch64.c Really fix the declaration of __clear_cache. 2013-05-14 18:06:10 +00:00
builtins-arm-exclusive.c ARM: implement low-level intrinsics for the atomic exclusive operations. 2013-07-16 09:47:53 +00:00
builtins-arm-strex-rettype.c ARM: fix AST for __builtin_arm_strex call 2013-10-29 12:32:58 +00:00
builtins-arm.c Really fix the declaration of __clear_cache. 2013-05-14 18:06:10 +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-gnu-mode.c Testcase for r183015. 2013-05-31 17:01:30 +00:00
builtins.c Only provide MS builtins when -fms-extensions is on 2013-11-13 22:47:22 +00:00
c11-typedef-redef.c
c89.c Sema: Cleanup and simplify anonymous union diagnostics 2013-11-02 10:38:05 +00:00
callingconv-ms_abi.c Add ms_abi and sysv_abi attribute handling. 2013-08-30 04:39:01 +00:00
callingconv-sysv_abi.c Add ms_abi and sysv_abi attribute handling. 2013-08-30 04:39:01 +00:00
callingconv.c Improving calling convention test coverage by adding tests for things not currently handled. Specifically: the diagnostics in SemaDeclAttr.cpp, and ensuring that calling convention attributes are applied to ObjC method declarations. No functional changes. 2013-11-19 04:08:34 +00:00
captured-statements.c CodeGen for CapturedStmts 2013-05-09 19:17:11 +00:00
carbon.c Don't pass -print-stats to the driver, it is a -cc1 option only. 2013-09-25 15:21:56 +00:00
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 Split off casts to void* for -Wint-to-pointer-cast to subgroup -Wint-to-void-pointer-cast. 2013-05-29 21:50:46 +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
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 Add constant evaluation support for __builtin_isinf, __builtin_isfinite, 2013-10-15 19:07:14 +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 Refactored integer argument checking code into a helper method. Removes a considerable amount of duplicated code. 2013-11-21 01:50:40 +00:00
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
convertvector.c Add the intrinsic __builtin_convertvector 2013-09-18 03:29:45 +00:00
crash-invalid-array.c Remove an old stdio.h include from the invalid-array test 2013-12-08 22:37:30 +00:00
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 There's no such thing as %clang_cc1_only 2013-12-08 18:49:11 +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 Warn on duplicate function specifier 2013-11-13 06:57:53 +00:00
default.c
default1.c
deref.c
designated-initializers.c Gracefully (and correctly) handle init of multiple union members 2013-10-03 12:14:24 +00:00
dllimport-dllexport.c Getting rid of some hard-coded strings. No functional changes intended, though some test cases needed to be updated for attribute names becoming quoted. 2013-12-04 22:02:33 +00:00
empty1.c PR5683: Issue a warning when subtracting pointers to types of zero size, and 2013-09-10 21:34:14 +00:00
empty2.c Recognition of empty structures and unions is moved to semantic stage 2013-06-08 13:29:58 +00:00
enum-increment.c Emit an error for enum increments and decrements in C++ mode. 2013-08-08 01:50:23 +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
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 Make test portable. 2013-10-10 02:12:25 +00:00
ext_vector_comparisons.c
ext_vector_components.c
extern-redecl.c Fix implementation of C11 6.2.7/4 and C++11 [dcl.array]p3: 2013-08-13 18:18:50 +00:00
flexible-array-init.c
floating-point-compare.c
fn-ptr-as-fn-prototype.c There's no such thing as %clang_cc1_only 2013-12-08 18:49:11 +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
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
format-strings-ms.c Typo. 2013-08-22 10:04:41 +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 Change semantics of regex expectations in the diagnostic verifier 2013-12-11 23:40:50 +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 Correct hyphenations in comments and assert messages 2013-12-05 04:47:09 +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 ffreestanding shouldn't effect main() on win32 2013-09-16 23:59:35 +00:00
function-ptr.c
function-redecl.c Revert "[Sema] Make FunctionType's TSI use unadjusted argument types" 2013-06-08 18:19:52 +00:00
function.c [AST] Introduce a new DecayedType sugar node 2013-06-24 17:51:48 +00:00
generic-selection.c
gnu-flags.c Add specific warning flags for GNU ext in Sema. 2013-09-18 23:23:17 +00:00
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
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 Make Expr::isConstantInitializer match IRGen. 2013-07-16 22:40:53 +00:00
initialize-noreturn.c
inline-redef.c
inline.c Split isFromMainFile into two functions. 2013-08-22 00:27:10 +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
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 Fix a C struct diagnostic regression introduced by r187504 (PR17762). 2013-10-31 20:32:56 +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 PR17666: Instead of allowing an initial identifier argument in any attribute 2013-10-24 01:07:54 +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
mrtd.c Tighten diagnostics for calling conventions on variadic functions 2013-10-09 18:10:25 +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 clang/test: REQUIRES: s/x86-64-registered-target/x86-registered-target/ 2013-12-04 03:41:33 +00:00
ms-keyword-system-header.c Emit an extension warning when changing system header tokens 2013-12-03 06:13:01 +00:00
ms-wchar.c Change semantics of regex expectations in the diagnostic verifier 2013-12-11 23:40:50 +00:00
ms_abi-sysv_abi.c Add ms_abi and sysv_abi attribute handling. 2013-08-30 04:39:01 +00:00
ms_bitfield_layout.c Implements 64 bit microsoft record layout and adds lit tests to cover 2013-10-23 23:53:07 +00:00
ms_class_layout.cpp Adds Microsoft compatiable C++ record layout code to clang. 2013-10-11 20:19:00 +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-support.c Add error checking to reject neon_vector_type attribute on targets without NEON. 2013-09-16 18:07:35 +00:00
neon-vector-types.c Add error checking to reject neon_vector_type attribute on targets without NEON. 2013-09-16 18:07:35 +00:00
nested-redef.c
no-documentation-warn-tagdecl-specifier.c [document parsing]: When tag declaration (but not definition!) 2013-04-17 21:05:20 +00:00
no-format-y2k-turnsoff-format.c Make this test actually test something 2012-09-26 09:02:07 +00:00
nonnull.c Refactor some attributes to use checkFunctionOrMethodArgumentIndex instead of using custom logic. No functional changes intended. 2013-07-30 00:48:57 +00:00
nowarn-documentation-property.m comment parsing: Properties are considered like methods, and people 2013-02-27 00:46:06 +00:00
offsetof-64.c Limit number of bits in size representation so that bit size fit 64 bits. 2013-07-16 07:14:18 +00:00
offsetof.c Move a test that requires 64-bit mode to a separate test with a triple in 2013-05-15 00:44:06 +00:00
outof-range-constant-compare.c Revert "Properly consider the range of enum for range comparisons in C mode" 2013-06-07 22:07:20 +00:00
overloadable-complex.c
overloadable.c Replacing a custom diagnostic with a more standard one. No functional change intended. 2013-11-26 16:14:15 +00:00
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 Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
parentheses.cpp Switch the note order for -Woverloaded-shift-op-parentheses so that the note 2013-04-18 01:04:37 +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 Extended VerifyDiagnosticConsumer to also verify source file for diagnostic. 2013-04-17 08:06:46 +00:00
pragma-ms_struct.c Automated checking for C++ when determining what argument to send to the diagnostic for attribute subjects. In turn, this allows the Subjects to be enabled for some more attributes and improves diagnostics. Updated a test case based on the improved diagnostic. 2013-11-27 19:16:55 +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
pragma-weak.c Treat aliases as definitions. 2013-10-22 21:39:03 +00:00
predef.c
predefined-function.c
private-extern.c Fix 41 of the 61 tests which fail with modules enabled: we were computing and 2013-04-04 01:51:11 +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 Remove setjmp.h header file from Sema/return.c test and include necessary 2013-04-16 16:10:38 +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 Revert r193073 and the attempt to fix it in r193170. 2013-10-22 18:07:04 +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 Enable use of _Static_assert inside structs and unions in C11 mode (as per C11 6.7.2.1p1). 2013-04-03 09:46:04 +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
string-init.c Better diagnostics for string initialization. 2013-05-15 11:03:04 +00:00
string-plus-char.c Add -Wstring-plus-char, which warns when adding char literals to C strings. 2013-10-25 16:52:00 +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 Switch the semantic DeclContext for a block-scope declaration of a function or 2013-09-20 01:15:31 +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 Allow the warning 'case value not in enumerated type' to be silenced with 2013-12-05 22:52:07 +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 Change semantics of regex expectations in the diagnostic verifier 2013-12-11 23:40:50 +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 Removing a custom error diagnostic and replacing it with a stock one. Added a test case to ensure the diagnostic was firing properly. 2013-11-20 01:35:23 +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 Don't replace an existing decl in the scope chains with its 2013-04-13 00:20:21 +00:00
varargs-x86-64.c
varargs.c Fixed bug in return type of __builtin_va_start(). 2013-11-07 08:14:26 +00:00
varargs.cpp Warn on va_start() when called with a reference parameter. 2013-05-24 23:31:57 +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
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
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 Make this test properly test both things it's trying to test. 2013-06-25 22:37:05 +00:00
vla-2.c
vla.c
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 CommentLexer: When proceeding with a typo corrected name don't clobber the token. 2013-12-01 15:09:32 +00:00
warn-documentation.cpp Comment parsing: allow "\param ..." to describe variadic arguments 2013-06-24 04:41:32 +00:00
warn-documentation.m Comment parsing: allow "\param ..." to describe variadic arguments 2013-06-24 04:41:32 +00:00
warn-duplicate-enum.c Sema: Don't crash when trying to emit a warning for a duplicate value in an invalid enum. 2013-04-07 14:10:40 +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 Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
warn-main.c Sema: Do not merge new decls with invalid, old decls 2013-07-07 23:49:50 +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-null.c PR10837: Warn if a null pointer constant is formed by a zero integer constant 2013-11-21 01:53:02 +00:00
warn-outof-range-assign-enum.c -Wassign-enum: compare unqualified types 2013-12-05 23:06:53 +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-intrinsics.c Split test to test -Wshadow with emmintrin.h more portable. 2013-10-08 00:03:41 +00:00
warn-shadow.c Split test to test -Wshadow with emmintrin.h more portable. 2013-10-08 00:03:41 +00:00
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-thread-safety-analysis.c Remove assert header dependency in test 2013-07-29 22:37:42 +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 Making type_tag_for_datatype consistent with its declared subject from Attr.td. Also updated the related testcase. 2013-11-25 18:50: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-unsequenced.c Teach -Wunsequenced that the side-effects of a function evaluation are sequenced 2013-06-30 10:40:20 +00:00
warn-unused-function.c This is now passing. Uncomment and close out PR6281. 2013-10-17 04:13:35 +00:00
warn-unused-label.c PR8455: Handle an attribute between a goto label and a variable declaration per 2013-11-15 22:45:29 +00:00
warn-unused-parameters.c Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +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-variable-not-needed.c Consider hidden decls for isUsed checks. 2013-10-22 21:56:29 +00:00
warn-vla.c Implement -Wvla correctly 2013-01-23 20:02:51 +00:00
warn-write-strings.c
wchar.c Better diagnostics for string initialization. 2013-05-15 11:03:04 +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