..
Inputs
Add test that -Wunreachable-code warnings are suppressed in headers.
2014-02-21 21:41:23 +00:00
128bitfloat.cpp
Rename test.cc files to test.cpp.
2014-12-22 18:13:07 +00:00
128bitint.c
Improving the "integer constant too large" diagnostics based on post-commit feedback from Richard Smith. Amends r213657.
2014-07-24 14:51:23 +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
Win64: Silently ignore __stdcall, __fastcall, and __thiscall
2015-02-26 19:43:46 +00:00
MicrosoftCompatibility-x86.c
…
MicrosoftCompatibility.c
Sema: size_t is available in C when -fms-compatibility is enabled
2015-02-18 02:28:13 +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
Sema: Diagnose undefined structs used as Microsoft anonymous structs
2014-09-18 00:42:05 +00:00
PR2727.c
…
PR2728.c
…
PR2919-builtin-types-compat-strips-crv.c
…
PR2923.c
…
PR2963-enum-constant.c
…
__try.c
Fix Sema tests using __try by adding triple
2015-04-28 22:58:25 +00:00
aarch64-neon-ranges.c
[ARM64] Add ARM64 RUN lines to a bunch of tests that had AARCH64 RUN lines.
2014-04-17 12:51:36 +00:00
aarch64-neon-vector-types.c
[ARM64] Add ARM64 RUN lines to a bunch of tests that had AARCH64 RUN lines.
2014-04-17 12:51:36 +00:00
address-constant.c
…
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
Revert "Sema: err_after_alias is unreachable, remove it"
2015-01-21 01:30:40 +00:00
align-arm-apcs.c
…
align-systemz.c
Fix __alignof__ of global variables on SystemZ
2015-04-21 17:26:18 +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
AST: Don't ignore alignas on EnumDecls when calculating alignment
2015-01-21 10:54:38 +00:00
align_value.c
Initial support for the align_value attribute
2014-10-02 21:21:25 +00:00
alignas.c
…
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
Switch C compilations to C11 by default.
2014-10-20 23:26:58 +00:00
anonymous-struct-union.c
Improve the error message for assigning to read-only variables.
2015-04-11 01:53:13 +00:00
arg-duplicate.c
…
arg-scope-c99.c
…
arg-scope.c
…
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
MachO: set sizeof result type to what embedded headers expect.
2014-08-05 11:07:26 +00:00
arm-interrupt-attr.c
Updated the wording of two attribute-related diagnostics so that they print the offending attribute name. Also updates the associated test cases.
2014-01-02 21:26:14 +00:00
arm-layout.c
…
arm-neon-types.c
Rewrite ARM NEON intrinsic emission completely.
2014-06-17 13:11:27 +00:00
arm64-inline-asm.c
[AArch64, inline-asm] Improve diagnostic that is printed when the size of a
2014-08-22 06:05:21 +00:00
arm64-neon-args.c
AArch64: use aarch64_be instead of arm64_be in all tests.
2014-07-23 12:57:31 +00:00
arm_acle.c
arm_acle: Add mappings for dbg intrinsic
2014-08-26 12:48:11 +00:00
array-bounds-ptr-arith.c
…
array-constraint.c
…
array-declared-as-incorrect-type.c
…
array-init.c
Switch C compilations to C11 by default.
2014-10-20 23:26: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
Sema: Relax parsing of '#' in constraints
2015-01-14 05:11:09 +00:00
assign-null.c
…
assign.c
Improve the error message for assigning to read-only variables.
2015-04-11 01:53:13 +00:00
ast-print.c
Pretty print attributes associated with record declarations.
2014-09-15 16:45:30 +00:00
atomic-compare.c
[Sema] Don't use dyn_cast to detect an AtomicType
2015-05-23 01:32:17 +00:00
atomic-expr.c
Sema: Handle C11 atomics when diagnosing out of range comparisons
2014-07-21 18:01:53 +00:00
atomic-ops.c
Sema: Ensure that __c11_atomic_fetch_add has a pointer to complete type
2015-01-28 05:48:06 +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
Sema: Allow aliases to have incomplete type
2014-07-09 17:15:52 +00:00
attr-alias.c
…
attr-aligned.c
AST: Respect alignment attributes on typedef'd arrays
2014-04-15 20:12:41 +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-android.c
Support __attribute__((availability)) on Android.
2015-03-03 18:28:38 +00:00
attr-availability-app-extensions.c
Add clang support for Objective-C application extensions.
2015-03-02 19:01:14 +00:00
attr-availability-ios.c
Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'.
2013-12-18 23:30:06 +00:00
attr-availability-macosx.c
Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'.
2013-12-18 23:30:06 +00:00
attr-availability.c
Don't warn about use of deprecated API when the containing context is unavailable.
2015-04-30 17:20:35 +00:00
attr-bounded.c
Prune CRLF.
2014-10-27 12:37:26 +00:00
attr-capabilities.c
Allow objc_bridge(id) to be used on typedefs of [cv] void*.
2015-02-01 22:34:06 +00:00
attr-cleanup.c
Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'.
2013-12-18 23:30:06 +00:00
attr-coldhot.c
Simplifying the mutual exclusion check now that the diagnostics engine knows how to handle Attr objects directly. Updates an associated test case due to the attribute name being properly quoted again.
2014-01-03 16:23:46 +00:00
attr-decl-after-definition.c
…
attr-declspec-ignored.c
…
attr-deprecated-message.c
Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'.
2013-12-18 23:30:06 +00:00
attr-deprecated.c
Switch C compilations to C11 by default.
2014-10-20 23:26:58 +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-flag-enum.c
Create a new 'flag_enum' attribute.
2014-11-28 00:53:20 +00:00
attr-format.c
Add support for analyzing FreeBSD kernel printf extensions.
2015-02-19 22:32:33 +00:00
attr-format_arg.c
…
attr-malloc.c
Sema: Add support for __declspec(restrict)
2015-02-04 07:23:21 +00:00
attr-minsize.c
…
attr-mode.c
Recommited:
2013-09-18 09:08:52 +00:00
attr-msp430.c
Prune CRLF.
2014-10-27 12:37:26 +00:00
attr-naked.c
Disallow using function parameters in extended asm inputs or outputs in naked functions (PR21178)
2014-10-08 01:58:02 +00:00
attr-naked.cpp
Diagnose CXX 'this' pointer reference in funcs with naked attr
2015-02-03 22:35:58 +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-noduplicate.c
Exposing the noduplicate attribute within Clang, which marks functions so that the optimizer does not duplicate code.
2014-02-22 16:59:24 +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-nonnull.c
Prune CRLF.
2014-10-27 12:37:26 +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
Implemented a diagnostic to handle multiple, distinct ownership_return attributes on the same declaration. This removes a FIXME from the code.
2014-07-31 20:44:26 +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
Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'.
2013-12-18 23:30:06 +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
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.c
Sema: Don't crash on visibility attributes with an identifier argument.
2013-09-09 15:08:57 +00:00
attr-weak.c
…
big-endian-neon-initializers.c
AArch64: use aarch64_be instead of arm64_be in all tests.
2014-07-23 12:57:31 +00:00
bitfield-layout.c
Fixing a compiler assertion with zero-width bit-fields in packed structs.
2014-02-13 02:45:10 +00:00
bitfield-promote.c
…
bitfield.c
[Sema] Don't allow unverified bitfields in FieldDecls
2015-04-26 04:58:18 +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
Improve the error message for assigning to read-only variables.
2015-04-11 01:53:13 +00:00
block-printf-attribute-1.c
…
block-return-1.c
…
block-return-2.c
…
block-return-3.c
…
block-return.c
Consolidate header inclusion diagnostics
2014-07-11 20:53:51 +00:00
block-sentinel-attribute.c
…
block-storageclass.c
…
bool-compare.c
Extend -Wtautological-constant-out-of-range-compare to handle boolean values
2014-04-04 04:13:47 +00:00
builtin-assume-aligned.c
Support the assume_aligned function attribute
2014-09-26 05:04:30 +00:00
builtin-assume.c
HasSideEffects() should return false for calls to pure and const functions.
2015-04-06 13:22:01 +00:00
builtin-clear_cache.c
[ARM64] Fix __clear_cache - ensure it is predefined.
2014-04-17 12:51:42 +00:00
builtin-longjmp.c
Under duress, move check for target support of __builtin_setjmp/
2015-03-11 23:46:32 +00:00
builtin-object-size.c
Fix the argument index error of __builtin___memccpy_chk
2014-09-24 04:37:33 +00:00
builtin-prefetch.c
…
builtin-stackaddress.c
…
builtin-unary-fp.c
…
builtin_objc_msgSend.c
…
builtins-aarch64.c
[ARM64] Add ARM64 RUN lines to a bunch of tests that had AARCH64 RUN lines.
2014-04-17 12:51:36 +00:00
builtins-arm-exclusive.c
ARM: add support for v8 ldaex/stlex builtins.
2014-07-02 12:56:02 +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
ARM: Add dbg builtin intrinsic
2014-08-26 12:48:06 +00:00
builtins-arm64-exclusive.c
ARM: add support for v8 ldaex/stlex builtins.
2014-07-02 12:56:02 +00:00
builtins-arm64.c
AArch64: Prefetch intrinsic
2014-08-13 19:18:20 +00:00
builtins-decl.c
…
builtins-gnu-mode.c
Re-enable several builtins in non-gnu modes.
2014-04-16 08:06:33 +00:00
builtins-ppc.c
[PPC] Move argument range checks for HTM and crypto builtins to Sema
2015-03-30 19:40:59 +00:00
builtins-x86.c
[X86] Add range checking on immediate arguments on XOP vpcom builtins.
2015-02-13 06:04:48 +00:00
builtins.c
Add __sync_fetch_and_nand (again)
2014-10-02 20:53:50 +00:00
builtins.cl
Sema: Accept pointers to any address space for builtin functions
2015-03-31 16:39:02 +00:00
c11-typedef-redef.c
…
c89.c
Don't accept qualified 'int' main return types in C++ or standard C mode
2014-07-02 07:07:20 +00:00
call-with-static-chain.c
Implement the __builtin_call_with_static_chain GNU extension.
2014-12-12 23:41:25 +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
Remove support for pnaclcall attribute
2015-01-28 20:24:52 +00:00
captured-statements.c
CodeGen for CapturedStmts
2013-05-09 19:17:11 +00:00
cast-incomplete.c
…
cast-to-union.c
…
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
…
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
…
complex-init-list.c
…
complex-int.c
Catch more cases when diagnosing integer-constant-expression overflows.
2015-02-04 21:50:20 +00:00
complex-promotion.c
…
compound-literal.c
…
conditional-expr.c
…
conditional.c
…
const-eval-64.c
…
const-eval.c
PR16074, implement warnings to catch pointer to boolean true and pointer to
2014-02-26 02:36:06 +00:00
const-ptr-int-ptr-cast.c
…
constant-builtins-2.c
Handle __builtin_clzs and __builtin_ctzs in the constant expression evaluator.
2014-07-07 15:53:44 +00:00
constant-builtins.c
…
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
Improving the "integer constant too large" diagnostics based on post-commit feedback from Richard Smith. Amends r213657.
2014-07-24 14:51:23 +00:00
conversion-64-32.c
…
conversion.c
Revert r205646 (keeping the test in its modified form) as
2014-04-07 16:32:54 +00:00
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
crash-invalid-builtin.c
[Sema] Check if a builtin is FunctionPrototype().
2015-04-25 20:20:04 +00:00
darwin-align-cast.c
…
decl-in-prototype.c
Fix treatment of types defined in function prototype
2014-06-25 17:09:41 +00:00
decl-invalid.c
Non-allocatable Global Named Register
2014-05-19 18:15:42 +00:00
decl-microsoft-call-conv.c
Move the no-prototype calling conv check after decl merging
2014-11-03 21:56:03 +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
dllexport.c
MS ABI: Disallow dllimported/exported variables from having TLS
2014-10-04 06:51:54 +00:00
dllimport.c
Don't dllimport inline functions when targeting MinGW (PR21366)
2014-11-03 14:24:45 +00:00
empty1.c
Remove the -cxx-abi command-line flag.
2014-01-14 19:35:09 +00:00
empty2.c
Recognition of empty structures and unions is moved to semantic stage
2013-06-08 13:29:58 +00:00
enable_if.c
Neither attribute overloadable nor enable_if are supported by GCC. Disable the
2014-01-21 04:31:12 +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
…
enum.c
…
expr-address-of.c
…
expr-comma-c99.c
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
expr-comma.c
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
exprs.c
[Sema]. Warn when logical expression is a pointer
2014-11-14 17:12:50 +00:00
ext_vector_casts.c
Print detailed vector type information on diagnostics.
2014-04-25 20:41:38 +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
…
format-strings-c90.c
PR20356: Fix all Sema warnings with mismatched ext_/warn_ versus
2014-07-19 01:39:17 +00:00
format-strings-darwin.c
PR20356: Fix all Sema warnings with mismatched ext_/warn_ versus
2014-07-19 01:39:17 +00:00
format-strings-enum-fixed-type.cpp
Format strings: check against an enum's underlying type.
2014-05-31 04:12:14 +00:00
format-strings-enum.c
Format strings: check against an enum's underlying type.
2014-05-31 04:12:14 +00:00
format-strings-fixit-ssize_t.c
Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]"
2014-07-16 15:12:48 +00:00
format-strings-fixit.c
Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]"
2014-07-16 15:12:48 +00:00
format-strings-freebsd.c
Add support for analyzing FreeBSD kernel printf extensions.
2015-02-19 22:32:33 +00:00
format-strings-gnu.c
Try to green test/Sema/format-strings.c on Win bots
2014-09-07 04:03:21 +00:00
format-strings-int-typedefs.c
…
format-strings-ms.c
MS format strings: parse the 'Z' printf conversion specifier (PR20808)
2014-09-07 03:03:51 +00:00
format-strings-no-fixit.c
Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]"
2014-07-16 15:12:48 +00:00
format-strings-non-iso.c
PR20356: Fix all Sema warnings with mismatched ext_/warn_ versus
2014-07-19 01:39:17 +00:00
format-strings-scanf.c
scanf analysis: handle scanlists that start with ^] (PR19559)
2014-04-29 19:42:27 +00:00
format-strings-size_t.c
…
format-strings.c
Try to green test/Sema/format-strings.c on Win bots
2014-09-07 04:03:21 +00:00
fp16-sema.c
…
fpack-struct.c
…
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
PR 20146
2015-01-28 14:48:39 +00:00
generic-selection.c
…
gnu-attributes.c
Uniformed parsing of GNU attributes at line beginnning and added GNU attributes parsing FIXMEs.
2014-08-16 08:29:27 +00:00
gnu-flags.c
Add specific warning flags for GNU ext in Sema.
2013-09-18 23:23:17 +00:00
gnu89.c
…
heinous-extensions-off.c
…
heinous-extensions-on.c
…
i-c-e.c
Move a bunch of tests to directly use the CC1 layer. This at least saves
2014-01-15 09:08:07 +00:00
i386-linux-android.c
Create android x86_32 and x86_64 target info
2015-03-25 10:38:50 +00:00
illegal-types.c
…
implicit-builtin-decl.c
Consolidate header inclusion diagnostics
2014-07-11 20:53:51 +00:00
implicit-builtin-freestanding.c
…
implicit-builtin-redecl.c
…
implicit-cast-dump.c
Add the location of Decls to ast dump.
2014-04-02 05:48:29 +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
…
init-vector.c
…
init.c
Make Expr::isConstantInitializer match IRGen.
2013-07-16 22:40:53 +00:00
initialize-noreturn.c
…
inline-asm-validate-aarch64.c
[inlineasm] Fix an incorrect warning about register constraint and modifier.
2015-02-04 00:27:13 +00:00
inline-asm-validate-x86.c
When reporting constraints that should be constant, the type doesn't
2015-01-22 21:01:00 +00:00
inline-asm-validate.c
[AArch64, inline-asm] Improve diagnostic that is printed when the size of a
2014-08-22 06:05:21 +00:00
inline-redef.c
…
inline.c
Split isFromMainFile into two functions.
2013-08-22 00:27:10 +00:00
int-arith-convert.c
…
integer-overflow.c
Catch more cases when diagnosing integer-constant-expression overflows.
2015-02-04 21:50:20 +00:00
invalid-assignment-constant-address-space.c
Fix assertion when assigning to object in OpenCL constant address space.
2015-05-22 01:14:39 +00:00
invalid-cast.cpp
…
invalid-decl.c
Parameter/argument terminology fixes
2014-05-11 16:06:11 +00:00
invalid-init-diag.c
…
invalid-struct-init.c
…
knr-def-call.c
…
knr-variadic-def.c
…
lit.local.cfg
Forbid driver use in Sema tests
2014-01-16 02:37:08 +00:00
loop-control.c
Fix to PR8880 (clang dies processing a for loop)
2014-01-23 15:05:00 +00:00
many-logical-ops.c
…
many-parameters.c
…
member-reference.c
Unify warnings/errors from "maybe you meant" to "did you mean".
2015-04-02 22:10:06 +00:00
memset-invalid-1.c
…
memset-invalid.c
…
merge-decls.c
…
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
…
missing-field-initializers.c
…
mms-bitfields.c
…
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.c
ms-inline-asm: Correctly mark MS inline ASM labels as used
2014-10-08 17:28:34 +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
Revert "Don't require -re suffix on -verify directives with regexes."
2013-12-14 01:07:05 +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
Prune CRLF.
2014-10-27 12:37:26 +00:00
ms_class_layout.cpp
-fdump-record-layouts: Sort nvbases by offset before printing them
2014-02-28 01:03:09 +00:00
ms_wide_predefined_expr.cpp
…
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
ARM64: initial clang support commit.
2014-03-29 15:09:45 +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
…
nonnull.c
When checking for nonnull parameter attributes, also check the ParmVarDecl since the attribute may reside there, instead of just on the FunctionDecl. Fixes PR21668.
2014-12-11 19:35:42 +00:00
nowarn-documentation-property.m
…
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
…
parentheses.c
Make the ?: precedence warning handle pointers to the left of ?
2015-01-22 22:11:56 +00:00
parentheses.cpp
Fix warning text: lower -> higher
2014-10-28 04:37:34 +00:00
pid_t.c
…
pointer-addition.c
Sema: Semantically check _Atomic-qualified pointers
2015-02-12 21:07:34 +00:00
pointer-conversion.c
…
pointer-subtract-compat.c
…
ppc-bool.c
…
pr9812.c
Use Sema's PrintingPolicy when diagnosing DeclSpecs.
2015-03-12 14:28:38 +00:00
pragma-align-mac68k-unsupported.c
…
pragma-align-mac68k.c
…
pragma-align-packed.c
…
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
Unify __declspec attribute argument parsing with the common attribute argument parsing code.
2014-03-31 18:18:43 +00:00
pragma-pack-2.c
…
pragma-pack-3.c
…
pragma-pack-4.c
…
pragma-pack-5.c
…
pragma-pack-6.c
…
pragma-pack-and-options-align.c
…
pragma-pack-apple.c
Forbid driver use in Sema tests
2014-01-16 02:37:08 +00:00
pragma-pack.c
…
pragma-section-invalid.c
Add test intended for commit in r231317
2015-04-01 23:32:03 +00:00
pragma-section.c
Fix parsing certain kinds of strings in the MS section pragmas
2014-07-18 00:13:16 +00:00
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
Revert "Sema: An extern declaration can't be a redeclaration of a parameter"
2015-01-13 10:14:57 +00:00
rdr6094103-unordered-compare-promote.c
…
recover-goto.c
…
redefinition.c
…
return-noreturn.c
Turn off -Wmissing-noreturn warning for blocks
2014-04-03 23:06:35 +00:00
return-silent.c
…
return.c
Fix recent regressions in -Wreturn-type caused by heuristics to -Wunreachable-code.
2014-03-07 07:14:36 +00:00
scope-check.c
Reword switch/goto diagnostics "protected scope" diagnostics. Making up a term
2014-09-06 00:24:58 +00:00
self-comparison.c
…
sentinel-attribute.c
-Wsentinel: Suggest nullptr in C++11 instead of NULL
2014-11-13 23:19:36 +00:00
shift.c
Move a bunch of tests to directly use the CC1 layer. This at least saves
2014-01-15 09:08:07 +00:00
short-enums.c
…
sign-conversion.c
…
sizeof-struct-non-zero-as-member.cl
R600: Handle amdgcn triple
2015-01-06 20:34:47 +00:00
statements.c
Put statement expression decls in the enclosing code DeclContext
2015-04-20 20:00:49 +00:00
static-array.c
Fix representation of __attribute__((nonnull)) to support correctly modeling
2014-08-27 04:59:42 +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
PR16074, implement warnings to catch pointer to boolean true and pointer to
2014-02-26 02:36:06 +00:00
stdcall-fastcall-x64.c
…
stdcall-fastcall.c
Add frontend support for __vectorcall
2014-10-24 17:42:17 +00:00
string-init.c
Better diagnostics for string initialization.
2013-05-15 11:03:04 +00:00
string-plus-char.c
Sema: Cleanup and improve string-plus-char checking.
2014-12-15 20:22:33 +00:00
struct-cast.c
…
struct-compat.c
…
struct-decl.c
Create a redeclaration when an elaborated type specifier
2014-05-14 07:54:17 +00:00
struct-packed-align.c
Implement target-specific __attribute__((aligned)) value
2015-04-21 17:29:35 +00:00
surpress-deprecated.c
…
switch-1.c
Patch to warn on interger overflow in presence of
2014-10-14 20:27:05 +00:00
switch.c
PR11778: Fix the rejects-valid half of this bug. We still produce the same
2014-08-04 00:40:48 +00:00
template-specialization.cpp
…
tentative-decls.c
Sema: Static redeclaration after extern declarations is a Microsoft Extension
2014-06-18 23:26:25 +00:00
text-diag.c
…
thread-specifier.c
Do not warn on keyword undef
2014-12-12 06:37:55 +00:00
tls.c
Bitrig now supports TLS, so enable TLS support when targeting it. Patch by Patrick Wildt!
2014-05-01 23:19:06 +00:00
transparent-union-pointer.c
…
transparent-union.c
Print detailed vector type information on diagnostics.
2014-04-25 20:41:38 +00:00
type-spec-struct-union.c
…
typecheck-binop.c
…
typedef-prototype.c
…
typedef-redef.c
…
typedef-retain.c
Print detailed vector type information on diagnostics.
2014-04-25 20:41:38 +00:00
typedef-variable-type.c
…
typeof-use-deprecated.c
Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'.
2013-12-18 23:30:06 +00:00
types.c
Crash less enthusiasticially on _Atomic or __restrict__ on invalid types.
2015-01-04 04:53:10 +00:00
typo-correction.c
Eagerly correct typos in ParenExprs that may be type casts for non-C++ code.
2015-05-01 19:36:25 +00:00
ucn-cstring.c
…
ucn-identifiers.c
…
uninit-det-order.c
…
uninit-variables-vectors.c
…
uninit-variables.c
…
unnamed-bitfield-init.c
…
unused-expr-system-header.c
…
unused-expr.c
Move the warning about unused relational comparison from -Wunused-value to
2014-03-11 03:11:08 +00:00
usual-float.c
…
va_arg_x86_32.c
…
va_arg_x86_64.c
…
var-redecl.c
Sema: Check type compatibility with the most recent decl when merging
2015-01-14 02:27:38 +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
…
variadic-block.c
…
variadic-incomplete-arg-type.c
…
variadic-promotion.c
Creating a printing policy for "half":
2014-03-18 17:55:18 +00:00
vector-assign.c
Print detailed vector type information on diagnostics.
2014-04-25 20:41:38 +00:00
vector-cast.c
Make test pass on 32 bit architectures.
2014-04-25 20:49:10 +00:00
vector-init.c
Print detailed vector type information on diagnostics.
2014-04-25 20:41:38 +00:00
vector-ops.c
Print detailed vector type information on diagnostics.
2014-04-25 20:41:38 +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
[Sema] Correctly recurse when looking for [*] in function definitions
2015-04-07 22:08:51 +00:00
void_arg.c
…
warn-absolute-value-header.c
Consolidate header inclusion diagnostics
2014-07-11 20:53:51 +00:00
warn-absolute-value.c
Add -Wabsolute-value, warnings about absolute value functions.
2014-02-26 01:17:28 +00:00
warn-bad-function-cast.c
…
warn-bitwise-compare.c
Add a check for tautological bitwise comparisons to -Wtautological-compare.
2014-05-20 17:31:11 +00:00
warn-cast-align.c
…
warn-cast-qual.c
Implement -Wcast-qual, fixing #13772 .
2014-11-21 21:03:10 +00:00
warn-char-subscripts.c
…
warn-documentation-almost-trailing.c
Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]"
2014-07-16 15:12:48 +00:00
warn-documentation-crlf.c
…
warn-documentation-fixits.cpp
Comment parsing: move a diagnostic to the correct group.
2015-03-17 18:03:42 +00:00
warn-documentation-unknown-command.cpp
Comment parsing: move a diagnostic to the correct group.
2015-03-17 18:03:42 +00:00
warn-documentation.cpp
Comment parsing: fix an assertion failure on a verbatim block terminated with "**/"
2015-04-15 23:45:43 +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
…
warn-main-return-type.c
Make FunctionDecl::getReturnTypeSourceRange() support non-builtin types
2014-07-02 12:55:58 +00:00
warn-main.c
Diagnose variadic main() as an extension; addresses PR17905.
2015-04-23 16:12:42 +00:00
warn-missing-braces.c
…
warn-missing-prototypes.c
…
warn-missing-variable-declarations.c
Forbid driver use in Sema tests
2014-01-16 02:37:08 +00:00
warn-null.c
[Sema] Revert the change in r200622 that allowed integer casts to silence -Wnon-literal-null-conversion in C code.
2014-02-11 17:53:22 +00:00
warn-outof-range-assign-enum.c
-Wassign-enum: compare unqualified types
2013-12-05 23:06:53 +00:00
warn-overlap.c
Fix a bad interaction between -Wtautological-overlap-compare and delayed
2014-04-15 00:57:50 +00:00
warn-self-assign-field.mm
…
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-shift-negative.c
Fix -Wshift-count-negative. It didn't work if the right hand side
2015-03-26 21:37:49 +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-string-conversion.c
Check for bool-like conversion in conditional expressions.
2015-05-20 23:29:18 +00:00
warn-strlcpycat-size.c
…
warn-strncat-size.c
Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]"
2014-07-16 15:12:48 +00:00
warn-tautological-compare.c
Check for bool-like conversion in conditional expressions.
2015-05-20 23:29:18 +00:00
warn-thread-safety-analysis.c
Thread Safety Analysis: add a -Wthread-safety-negative flag that warns whenever
2014-08-04 22:13:06 +00:00
warn-type-safety-mpi-hdf5.c
…
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
…
warn-unreachable.c
Fix some typos
2014-05-05 19:53:42 +00:00
warn-unsequenced.c
Teach EvaluatedExprVisitor that the condition and unselected branches of a
2014-12-03 21:00: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
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-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
…
warn-write-strings.c
…
wchar.c
Check wchar_t type on PS4.
2015-01-27 18:43:05 +00:00
weak-import-on-enum.c
…
x86-attr-force-align-arg-pointer.c
…
x86-builtin-palignr.c
Make the byte-shift SSE intrinsics emit vector shuffles which we know the backend can handle.
2015-02-07 01:37:09 +00:00
x86_64-linux-android.c
Create android x86_32 and x86_64 target info
2015-03-25 10:38:50 +00:00