..
Inputs
Add explicit attributes to mark functions as having had their
2011-09-30 05:12:12 +00:00
__try.c
Treat the Microsoft/Borland keyword "__except" as a context-sensitive
2011-10-21 03:57:52 +00:00
128bitint.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
2007-10-01-BuildArrayRef.c
Migrate 2007-10-01-BuildArrayRef.c from llvm/test/FrontendC.
2011-07-23 02:16:25 +00:00
2009-03-09-WeakDeclarations-1.c
Migrate over 2009-04-22-UnknownSize.c, 2009-07-17-VoidParameter.c,
2011-07-26 00:47:54 +00:00
2009-04-22-UnknownSize.c
Migrate over 2009-04-22-UnknownSize.c, 2009-07-17-VoidParameter.c,
2011-07-26 00:47:54 +00:00
2009-07-17-VoidParameter.c
Migrate over 2009-04-22-UnknownSize.c, 2009-07-17-VoidParameter.c,
2011-07-26 00:47:54 +00:00
2010-05-31-palignr.c
Migrate over 2009-04-22-UnknownSize.c, 2009-07-17-VoidParameter.c,
2011-07-26 00:47:54 +00:00
address_spaces.c
Forbid address-space-qualified function types, per TR 18037
2011-07-27 20:30:05 +00:00
address-constant.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
align-arm-apcs.c
After further discussion it has been determined that alignof should report
2011-07-26 07:03:04 +00:00
align-x86-64.c
Gcc pads the size of an array using the alignment of its elements.
2011-04-26 21:05:39 +00:00
align-x86.c
Gcc pads the size of an array using the alignment of its elements.
2011-04-26 21:05:39 +00:00
alignas.c
Add support for alignment-specifiers in C1X and C++11, remove
2011-09-29 18:04:28 +00:00
altivec-init.c
supported: AltiVec vector initialization with a single literal according to PIM section 2.5.1 - after initialization all elements have the value specified by the literal
2011-03-27 09:32:40 +00:00
annotate.c
Bring llvm.annotation* intrinsics support back to where it was in llvm-gcc: can
2011-09-09 22:41:49 +00:00
anonymous-struct-union.c
Fix tests to account for new warning "expected ';' at end of declaration list". Sorry, folks!
2011-03-07 22:57:45 +00:00
arg-duplicate.c
Add 'previous declaration is here' note for param redefinition
2010-02-22 00:40:25 +00:00
arg-scope-c99.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
arg-scope.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
arm-layout.c
Fix tests to account for new warning "expected ';' at end of declaration list". Sorry, folks!
2011-03-07 22:57:45 +00:00
arm-neon-types.c
Check pointer types for arguments of Neon load/store macros. rdar://9958031
2011-11-08 05:04:11 +00:00
array-bounds-ptr-arith.c
Add a test case for the divide-by-zero fix in r137234
2011-08-10 19:47:25 +00:00
array-constraint.c
Enhance the diagnostic for negative array sizes to include the
2011-01-04 04:44:35 +00:00
array-declared-as-incorrect-type.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
array-init.c
Add list initialization for complex numbers in C. Essentially, this allows "_Complex float x = {1.0f, 2.0f};". See changes to docs/LanguageExtensions.html for a longer description.
2011-09-19 23:17:44 +00:00
array-size-64.c
Emit an error if an array is too large. We're slightly more strict
2010-08-18 00:39:00 +00:00
array-size.c
Emit an error if an array is too large. We're slightly more strict
2010-08-18 00:39:00 +00:00
asm.c
Add support for AVX registers to clang inline asm. Add a small testcase
2011-12-02 02:12:16 +00:00
assign-null.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
assign.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
ast-print.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
atomic-ops.c
Initial implementation of __atomic_* (everything except __atomic_is_lock_free).
2011-10-11 02:20:01 +00:00
atomic-type.c
Support for C1x _Atomic specifier (see testcase). This is primarily being committed at the moment to help support C++0x <atomic>, but it should be a solid base for implementing the full specification of C1x _Atomic.
2011-10-06 23:00:33 +00:00
attr-alias.c
Fix PR8720 by printing an error message with a substring that the gcc testsuite searches for.
2010-12-07 15:23:23 +00:00
attr-aligned.c
__attribute__((aligned(n))) directly specifies the alignment of a declaration
2010-10-08 18:24:19 +00:00
attr-args.c
Fix line endings
2011-04-19 00:23:31 +00:00
attr-availability-ios.c
Test attribute merging for the availability attribute.
2011-03-26 10:47:34 +00:00
attr-availability-macosx.c
Extend the new 'availability' attribute with support for an
2011-03-26 03:35:55 +00:00
attr-availability.c
For the availability attribute, allow a declaration to be deprecated
2011-08-10 15:31:35 +00:00
attr-cleanup.c
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
2011-03-02 12:15:05 +00:00
attr-decl-after-definition.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
attr-deprecated-message.c
Add message to attribute(deprecated).
2010-10-06 21:18:44 +00:00
attr-deprecated.c
pinpoint name/location of deprecated/unavailable enumerator
2011-11-28 19:45:58 +00:00
attr-format_arg.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
attr-format.c
Whenever we complain about a failed initialization of a function or
2010-04-22 00:20:18 +00:00
attr-malloc.c
This really seems like a boring set of fixes to our tests to make them more
2010-11-16 10:26:08 +00:00
attr-mode.c
Correctly treat 64 bit integers specified via the mode attribute as the 'long'
2010-01-26 06:39:24 +00:00
attr-naked.c
Don't complain about missing return statements for naked
2011-07-11 15:24:01 +00:00
attr-nodebug.c
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
2011-03-02 12:15:05 +00:00
attr-noinline.c
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
2011-03-02 12:15:05 +00:00
attr-noreturn.c
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
2011-03-02 12:15:05 +00:00
attr-regparm.c
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
2011-03-02 12:15:05 +00:00
attr-returns-twice.c
Add returns_twice to functions that are known to return twice. This implements
2011-10-12 19:51:18 +00:00
attr-section.c
rename llvm::llvm_report_error -> llvm::report_fatal_error
2010-04-07 22:58:06 +00:00
attr-sentinel.c
PR11002: Make sure we emit sentinel warnings with a valid source location. (Ideally, we want to use the location returned by getLocForEndOfToken, but that is not always successful.)
2011-09-27 23:46:37 +00:00
attr-unavailable-message.c
pinpoint name/location of deprecated/unavailable enumerator
2011-11-28 19:45:58 +00:00
attr-unknown.c
Rename -Wunknown-attributes to -Wattributes to match GCC.
2011-06-01 20:09:40 +00:00
attr-unused.c
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
2011-03-02 12:15:05 +00:00
attr-used.c
Change the wording of the bad-decl-for-attribute warning and error
2011-01-25 03:51:08 +00:00
attr-weak.c
Issue warning if weak_import attribute is added to an already
2011-06-22 22:08:50 +00:00
bitfield-layout.c
Sema: Fix a subtle i64 -> i32 truncation which broke layout of large structures
2010-06-29 18:34:35 +00:00
bitfield-promote.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
bitfield.c
Silliness with commas, as reported at http://blog.regehr.org/archives/558 . As it turns out, this is my fault for not noticing this was an issue when I was looking at this a long time ago. :(
2011-07-13 02:05:57 +00:00
block-args.c
Fix an error with the declaration of block parameters that depend
2011-03-22 23:15:50 +00:00
block-call.c
Fix a block sema bug where result type of initializer
2011-02-11 18:46:17 +00:00
block-explicit-noreturn-type.c
If block literal return type is not specified, return type of the block is
2011-12-03 17:47:53 +00:00
block-labels.c
break testcase over multiple lines to make it easier to read.
2011-02-18 01:25:14 +00:00
block-literal.c
Implement goto inside of blocks.
2010-01-19 23:08:01 +00:00
block-misc.c
Allow __func__ and __FUNCTION__ and __PRETTY_FUNCTION__ inside blocks.
2010-07-23 21:53:24 +00:00
block-printf-attribute-1.c
Refactor the logic for printf argument type-checking into analyze_printf::ArgTypeResult.
2010-02-16 01:46:59 +00:00
block-return-1.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
block-return-2.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
block-return-3.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
block-return.c
Move block return type inference diagnostic to a common place where
2011-12-03 23:53:56 +00:00
block-sentinel-attribute.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
block-storageclass.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
builtin_objc_msgSend.c
Test moved to its correct place.
2010-11-09 21:40:30 +00:00
builtin-object-size.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
builtin-prefetch.c
Remove the argument number from the constant integer diagnostic.
2010-04-19 18:23:02 +00:00
builtin-stackaddress.c
Remove the argument number from the constant integer diagnostic.
2010-04-19 18:23:02 +00:00
builtin-unary-fp.c
Add Sema support for __builtin_fpclassify by extending the existing check for __builtin_isinf and friends. Part of PR6083.
2010-02-15 22:42:31 +00:00
builtins-arm.c
__builtin_va_list is void* on ARM, not char*.
2011-05-09 02:19:37 +00:00
builtins-decl.c
include/clang/Basic/BuiltinsX86.def: __builtin_ia32_crc32**() should be defined to take unsigned args and to return unsigned value.
2011-03-09 12:00:19 +00:00
builtins.c
Suggest typo corrections for implicit function declarations.
2011-12-06 09:46:12 +00:00
c89-2.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
c89.c
Suggest typo corrections for implicit function declarations.
2011-12-06 09:46:12 +00:00
callingconv.c
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
2011-03-02 12:15:05 +00:00
carbon.c
Second try at fixing this test, this time without breaking 32-bit Darwin builders.
2011-06-06 22:25:48 +00:00
cast-incomplete.c
Check for casts to an incomplete type in C. Improves diagnostics for cast to
2010-07-17 20:43:49 +00:00
cast-to-union.c
Fixed cast to union with anonymous bitfields.
2010-10-07 21:20:44 +00:00
cast.c
Added scalar casts test.
2010-12-28 17:19:27 +00:00
check-increment.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
compare.c
Make the integer-range analysis recognize ^= correctly,
2011-07-13 06:35:24 +00:00
complex-init-list.c
Add list initialization for complex numbers in C. Essentially, this allows "_Complex float x = {1.0f, 2.0f};". See changes to docs/LanguageExtensions.html for a longer description.
2011-09-19 23:17:44 +00:00
complex-int.c
Improved complex constants evaluation.
2010-12-11 16:05:48 +00:00
complex-promotion.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
compound-literal.c
Fixed isConstantInitializer for __builtin_choose_expr.
2010-09-27 07:13:32 +00:00
conditional-expr.c
Remove warning for conditional operands of differend signedness from -Wsign-compare. Cases that previously warn on this will have a different warning emitted from -Wsign-conversion.
2011-07-21 02:46:28 +00:00
conditional.c
Improve diagnostics when we fail to convert from a source type to a
2010-04-09 00:35:39 +00:00
const-eval.c
When folding the size of a global scope VLA to a constant, require the array
2011-12-07 00:43:50 +00:00
const-ptr-int-ptr-cast.c
tests: Use -ffreestanding when including stdint.h, to avoid platform dependencies.
2010-09-07 22:54:28 +00:00
constant-builtins-2.c
Support strlen() and __builtin_strlen() as constant expressions with
2010-09-10 06:27:15 +00:00
constant-builtins.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
constant-conversion.c
Only emit implicit constant conversion truncation warnings in reachable code. Apparently this is what GCC does, and some code depends on this. Fixes <rdar://problem/10321089>.
2011-10-22 02:37:33 +00:00
constructor-attribute.c
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
2011-03-02 12:15:05 +00:00
conversion-64-32.c
fix rdar://9546171 - -Wshorten-64-to-32 shouldn't warn on vector bitcasts.
2011-06-14 04:51:15 +00:00
conversion.c
Only emit implicit constant conversion truncation warnings in reachable code. Apparently this is what GCC does, and some code depends on this. Fixes <rdar://problem/10321089>.
2011-10-22 02:37:33 +00:00
crash-invalid-array.c
Bring over a test from llvm/test/FrontendC that is for Sema and not CodeGen.
2011-07-22 07:26:22 +00:00
darwin-align-cast.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
decl-invalid.c
Downgrade the "declaration does not declare anything" error to a
2010-04-08 21:33:23 +00:00
decl-type-merging.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
declspec.c
Downgrade the "declaration does not declare anything" error to a
2010-04-08 21:33:23 +00:00
default1.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
default.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
deref.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
designated-initializers.c
This patch fixes multiple issues in clang's designated init builder and
2010-10-08 20:44:28 +00:00
dllimport-dllexport.c
Support dllimport and dllexport on x86-64 Windows. PR10978. Patch by Ruben Van Boxem.
2011-09-30 18:53:25 +00:00
enum-packed.c
With packed enums, an enumerator's value may be stored in more bits
2010-06-29 17:12:35 +00:00
enum.c
Incomplete enum types not to be treated as integer type
2010-11-29 23:18:09 +00:00
expr-address-of.c
Add a new expression classification, CL_AddressableVoid
2011-04-19 18:51:51 +00:00
expr-comma-c99.c
Rename test/Sema/expr-comma-c89.c to expr-comma-c99.c. Spotted by
2011-02-25 12:37:11 +00:00
expr-comma.c
Make the "unused result" warning a warning about run-time behavior, so
2010-07-15 18:47:04 +00:00
exprs.c
Add fixit notes for -Wconstant-logical-operand.
2011-08-15 17:50:06 +00:00
ext_vector_casts.c
Fix Sema::CheckVectorOperands so that it doesn't try to insert a cast expression into the LHS of a compound assignment. Fixes compound assignment of various "compatible" vector types, including NEON-vector and gcc-vector types.
2011-06-23 18:10:35 +00:00
ext_vector_comparisons.c
Warn about comparisons between arrays and improve self-comparison
2010-06-08 19:50:34 +00:00
ext_vector_components.c
Revert r114316, -Wunused-value enabled by default was intended.
2010-09-19 23:03:35 +00:00
extern-redecl.c
When redeclaring a local extern in the same scope, make sure that we
2011-06-29 21:22:02 +00:00
flexible-array-init.c
Refactor and fix checking for initialization of flexible array members. The old version had the checks scattered across the code, missed some checks, and had a couple nasty bugs in existing checks.
2011-08-23 22:24:57 +00:00
floating-point-compare.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
for.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
format-string-percentm.c
Add comment to test linking it back to the original Bugzilla PR.
2010-01-29 18:07:41 +00:00
format-strings-fixit-ssize_t.c
Break out ssize_t test from Sema/format-strings-fixit.c
2011-10-19 07:55:50 +00:00
format-strings-fixit.c
Break out ssize_t test from Sema/format-strings-fixit.c
2011-10-19 07:55:50 +00:00
format-strings-int-typedefs.c
Make printf warnings refer to intmax_t et al. by name
2011-12-07 10:33:11 +00:00
format-strings-no-fixit.c
Fix for PR9751 to change the behavior of -Wformat warnings. If the format
2011-10-28 00:41:25 +00:00
format-strings-scanf.c
Fix for PR9751 to change the behavior of -Wformat warnings. If the format
2011-10-28 00:41:25 +00:00
format-strings-size_t.c
Make printf warnings refer to intmax_t et al. by name
2011-12-07 10:33:11 +00:00
format-strings.c
Fix for PR9751 to change the behavior of -Wformat warnings. If the format
2011-10-28 00:41:25 +00:00
fp16-sema.c
Missed tests for half FP support
2011-10-14 23:32:50 +00:00
fpack-struct.c
Driver & AST: Implement support for -fpack-struct and -fpack-struct= command
2011-10-05 21:04:55 +00:00
freemain.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
function-ptr.c
Improve diagnostics when we fail to convert from a source type to a
2010-04-09 00:35:39 +00:00
function-redecl.c
When emitting a "too many arguments to function call..." error, also include a note with a location for the function prototype.
2011-04-04 17:22:27 +00:00
function.c
Make sure that restrict-qualifying an array actually adds a restrict qualifier. PR11354. (operator bool() is evil!)
2011-11-11 02:00:42 +00:00
generic-selection.c
C1X: implement generic selections
2011-04-15 00:35:48 +00:00
gnu89.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
heinous-extensions-off.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
heinous-extensions-on.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
i-c-e.c
In accordance with the C89, C99 and C++98 standards, ICEs can only contain
2011-10-24 18:26:35 +00:00
illegal-types.c
Fixed test case asserts due to checkin of r130710.
2011-05-02 20:39:21 +00:00
implicit-builtin-decl.c
When we attempt to create a built-in that involves a library type we
2011-01-03 09:37:44 +00:00
implicit-builtin-freestanding.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
implicit-builtin-redecl.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
implicit-cast.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
implicit-decl.c
Suggest typo corrections for implicit function declarations.
2011-12-06 09:46:12 +00:00
implicit-def.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
implicit-int.c
Change __extension__ to disable only diagnostics controlled by -pedantic.
2011-10-12 19:55:31 +00:00
incompatible-sign.c
Whenever we complain about a failed initialization of a function or
2010-04-22 00:20:18 +00:00
incomplete-call.c
Emit a -Wnull-dereference warning for "*null" not just "*null = something". Addresses rdar://9269271.
2011-04-26 17:41:22 +00:00
incomplete-decl.c
Factor out (some of) the checking for invalid forms of pointer
2011-06-27 08:02:19 +00:00
indirect-goto.c
Really trivial patch to accept pointer to const void in indirect goto. Despite
2010-01-31 10:26:25 +00:00
init-struct-qualified.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
init-vector.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
init.c
CheckStringInit has side effects; make sure we don't run it in VerifyOnly mode, at least for the moment. <rdar://problem/10185490>.
2011-09-26 19:09:09 +00:00
initialize-noreturn.c
c: assignment/init of a function pointer whose function(s)
2011-10-05 00:05:34 +00:00
inline-redef.c
Make __gnu_inline__ functions in gnu99 mode work the same way as inline functions in gnu89 mode in terms of redefinitions.
2011-06-13 23:56:42 +00:00
inline.c
Make __gnu_inline__ functions in gnu99 mode work the same way as inline functions in gnu89 mode in terms of redefinitions.
2011-06-13 23:56:42 +00:00
int-arith-convert.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
invalid-decl.c
Tighten up the "cannot return array or function type" diagnostic to
2010-01-11 18:46:21 +00:00
invalid-init-diag.c
Improve diagnostics like "initializing <type> from an expression of
2010-04-09 17:53:29 +00:00
invalid-struct-init.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
knr-def-call.c
Only warn in -Wliteral-conversion if the conversion loses information
2011-10-14 15:36:25 +00:00
knr-variadic-def.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
many-parameters.c
Use a sidetable in ASTContext for ParmVarDecls whose index exceeds the 8 bits reserved for that value in VarDecl. Fixes PR 10538.
2011-10-06 05:00:56 +00:00
member-reference.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
memset-invalid.c
Convert assertion in memset checking to a runtime check (because real code may provide a deviant definition of memset).
2011-04-28 01:38:02 +00:00
merge-decls.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
MicrosoftExtensions.c
Add a Microsoft C test following r131201.
2011-05-11 22:28:19 +00:00
missing-field-initializers.c
Fix tests to account for new warning "expected ';' at end of declaration list". Sorry, folks!
2011-03-07 22:57:45 +00:00
ms_class_layout.cpp
Fix MSVC class layout for empty classes. Patch by Dmitry Sokolov.
2011-12-01 00:37:01 +00:00
neon-vector-types.c
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
2011-03-02 12:15:05 +00:00
nested-redef.c
Fix PR6618.
2010-03-21 22:56:43 +00:00
no-format-y2k-turnsoff-format.c
Bad table discription of fromat-y2k causes
2011-06-14 21:54:00 +00:00
nonnull.c
Handle nonnull attribute with optional argument number on
2011-06-27 21:12:03 +00:00
offsetof.c
Perform an lvalue-to-rvalue conversion on an array index in a __builtin_offsetof expression.
2011-10-17 05:48:07 +00:00
overloadable-complex.c
Add a new conversion rank to classify conversions between complex and scalar
2010-02-25 07:20:54 +00:00
overloadable.c
Make sure that we diagnose attribute((overloadable)) functions without
2010-08-06 13:50:58 +00:00
overloaded-func-transparent-union.c
Support for Transparent unions used as overloadable
2011-03-23 19:50:54 +00:00
paren-list-expr-type.cpp
Changes ParenListExpr to always require a type.
2011-06-22 20:02:16 +00:00
parentheses.c
Silence ?: precendence warning when parenthesis are present.
2011-09-12 12:07:30 +00:00
parentheses.cpp
Silence ?: precendence warning when parenthesis are present.
2011-09-12 12:07:30 +00:00
pointer-addition.c
Cleanup a fixme by using a specific diagnostic for subscripting
2011-06-27 16:32:27 +00:00
pointer-conversion.c
Improve diagnostics when we fail to convert from a source type to a
2010-04-09 00:35:39 +00:00
pointer-subtract-compat.c
Factor out (some of) the checking for invalid forms of pointer
2011-06-27 08:02:19 +00:00
PR2727.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
PR2728.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
PR2919-builtin-types-compat-strips-crv.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
PR2923.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
PR2963-enum-constant.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
pragma-align-mac68k-unsupported.c
tests: Spell %clang_cc1 correctly.
2010-06-29 16:52:18 +00:00
pragma-align-mac68k.c
tests: Spell %clang_cc1 correctly.
2010-06-29 16:52:18 +00:00
pragma-align-packed.c
Sema: Fix a bug with #pragma options align=reset, reset against an empty stack
2010-07-16 04:54:16 +00:00
pragma-arc-cf-code-audited.c
Add explicit attributes to mark functions as having had their
2011-09-30 05:12:12 +00:00
pragma-ms_struct.c
Add ms_struct attribute on record typee
2011-04-26 17:54:40 +00:00
pragma-pack-2.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
pragma-pack-3.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
pragma-pack-4.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
pragma-pack-5.c
Fix bitfield handling for record layout with #pragma pack. <rdar://problem/10494810> and PR9560.
2011-12-02 02:38:48 +00:00
pragma-pack-and-options-align.c
Parse/Sema: Add support for '#pragma options align=native'.
2010-05-27 18:42:09 +00:00
pragma-pack-apple.c
Add an option to emulate the strange Apple gcc behavior of #pragma pack.
2011-11-02 01:53:16 +00:00
pragma-pack.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
pragma-unused.c
Allow #pragma unused to be used on global variables like gcc. Fixes rdar://8793832.
2011-01-27 18:16:48 +00:00
predef.c
make clang print types as "const int *" instead of "int const*",
2010-09-05 00:04:01 +00:00
predefined-function.c
Whenever we complain about a failed initialization of a function or
2010-04-22 00:20:18 +00:00
private-extern.c
Diagnose if extern local variable is followed by non-extern and vice-versa.
2011-01-31 07:04:46 +00:00
rdr6094103-unordered-compare-promote.c
Although we currently have explicit lvalue-to-rvalue conversions, they're
2010-12-04 03:47:34 +00:00
recover-goto.c
when emitting an error about a missing } in a compound statement, emit
2010-09-01 15:49:26 +00:00
redefinition.c
Provide a specific diagnostic when trying to redefine an "extern
2010-09-07 15:51:01 +00:00
return-noreturn.c
Improve the diagnostic text for -Wmissing-noreturn to include the name
2011-08-31 09:01:53 +00:00
return-silent.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
return.c
Fix the behavior of -Wignored-qualifiers on return type qualifiers in
2011-02-23 18:51:59 +00:00
scope-check.c
fix rdar://9024687, a crash on invalid that we used to silently ignore.
2011-02-18 21:16:39 +00:00
self-comparison.c
For self-comparison warning, check the source location of both the LHS and RHS to see if they
2010-09-16 00:03:01 +00:00
sentinel-attribute.c
Pretty up the wrong-number-of-arguments-for-attribute diagnostic by
2011-03-02 12:15:05 +00:00
shift.c
Sema: show shift result in hexadecimal
2011-06-15 00:54:52 +00:00
short-enums.c
Implement -fshort-enums (rdar://8490496).
2010-10-08 00:25:19 +00:00
sign-conversion.c
Two more test cases which have been long uncommitted.
2011-06-24 23:30:52 +00:00
statements.c
Fix crash in CFGBuilder on invalid code. We still need
2011-01-07 19:37:16 +00:00
static-array.c
Add sema checks for calls to functions taking static array parameters
2011-10-16 21:17:32 +00:00
static-assert.c
C1X: implement static asserts
2011-04-15 00:35:57 +00:00
static-init.c
Fix test to not force triple, and also to not need stdint.h.
2010-02-17 19:26:59 +00:00
stdcall-fastcall.c
Start fixing up clang tests to work on the clang-native-arm-cortex-a9 builder.
2011-06-06 21:23:05 +00:00
struct-cast.c
Wire up '-Wignored-qualifiers' to the warning on 'const' in 'const int f()'.
2010-07-14 06:36:18 +00:00
struct-compat.c
Improve diagnostics like "initializing <type> from an expression of
2010-04-09 17:53:29 +00:00
struct-decl.c
when compiling in a GNU mode (e.g. gnu99) treat VLAs with a size that can be folded to a constant
2011-06-14 06:38:10 +00:00
struct-packed-align.c
Fix PR9253, allowing attribute(aligned) to reduce the alignment of
2011-02-19 22:55:41 +00:00
surpress-deprecated.c
Update tests to use %clang instead of 'clang', and forcibly disable use of '
2009-12-15 22:01:24 +00:00
switch.c
Tweak the typo-correction implementation to determine corrections
2010-10-14 20:34:08 +00:00
tentative-decls.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
text-diag.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
thread-specifier.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
transparent-union-pointer.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
transparent-union.c
Merge transparent union types using member's unqualified type
2010-12-02 21:00:06 +00:00
type-spec-struct-union.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
typecheck-binop.c
Factor out (some of) the checking for invalid forms of pointer
2011-06-27 08:02:19 +00:00
typedef-prototype.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
typedef-redef.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
typedef-retain.c
Change the canonical representation of array types to store qualifiers on the
2011-01-19 10:06:00 +00:00
typedef-variable-type.c
when compiling in a GNU mode (e.g. gnu99) treat VLAs with a size that can be folded to a constant
2011-06-14 06:38:10 +00:00
typeof-use-deprecated.c
Issue deprecated warning when typeof uses typedef
2010-10-06 17:00:02 +00:00
types.c
Hack in a workaround for PR11082 until we have a proper fix. This
2011-10-07 18:40:27 +00:00
ucn-cstring.c
Add basic type checking of format string conversion specifiers and their arguments. Thanks to Cristian Draghici for his help with this patch!
2010-01-30 00:49:51 +00:00
uninit-variables-vectors.c
Now that the analyzer is distinguishing between uninitialized uses that
2011-04-08 06:33:38 +00:00
uninit-variables.c
Only warn at self-initialization if some later use is always uninitialized.
2011-10-19 18:53:03 +00:00
unnamed-bitfield-init.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
unused-expr.c
Treating the unused equality comparisons as something other than part of
2011-08-17 09:34:37 +00:00
usual-float.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
va_arg_x86_32.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
va_arg_x86_64.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
var-redecl.c
Fixes a corner case bug whereby declaring and defining an extern variable in a
2010-06-21 16:08:37 +00:00
varargs-x86-64.c
print "const intptr_t" instead of "intptr_t const"
2010-09-05 00:07:29 +00:00
varargs.c
Add diagnostic for constructs like "va_arg(l, float)" which have undefined behavior. PR10201.
2011-07-11 21:45:59 +00:00
variadic-block.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
vector-assign.c
make clang print types as "const int *" instead of "int const*",
2010-09-05 00:04:01 +00:00
vector-cast.c
Whenever we complain about a failed initialization of a function or
2010-04-22 00:20:18 +00:00
vector-init.c
When list-initializing a vector, try to copy-initialize from vectors instead
2010-10-30 00:11:39 +00:00
vector-ops.c
The comparison of two vectors should return a signed result. hasIntegerRepresentation() used to always return false for vectors, but since it was changed, it also
2011-10-17 21:00:38 +00:00
vfprintf-invalid-redecl.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
vfprintf-valid-redecl.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
vla.c
when compiling in a GNU mode (e.g. gnu99) treat VLAs with a size that can be folded to a constant
2011-06-14 06:38:10 +00:00
void_arg.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
warn-cast-align.c
Add support for alignment-specifiers in C1X and C++11, remove
2011-09-29 18:04:28 +00:00
warn-char-subscripts.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
warn-freestanding-complex.c
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
2009-12-15 20:14:24 +00:00
warn-gnu-designators.c
Fix tests to account for new warning "expected ';' at end of declaration list". Sorry, folks!
2011-03-07 22:57:45 +00:00
warn-missing-braces.c
rename llvm::llvm_report_error -> llvm::report_fatal_error
2010-04-07 22:58:06 +00:00
warn-missing-prototypes.c
Update tests to use %clang instead of 'clang', and forcibly disable use of '
2009-12-15 22:01:24 +00:00
warn-shadow.c
Fix the diagnostic when we are shadowing an external variable and there exists a locally scoped extern with the same name.
2011-01-31 07:04:50 +00:00
warn-sizeof-arrayarg.c
Warn on "void f(int a[10]) { sizeof(a); }"
2011-06-15 02:47:03 +00:00
warn-strlcpycat-size.c
Rename -Wstrl-incorrect-size to -Wstrlcpy-strlcat-size. This warning really is just specific to strlcpy and strlcat.
2011-08-19 14:35:32 +00:00
warn-unreachable.c
Teach -Wunreachable-code about dead code caused by macro expansions. This should suppress false positives resulting from 'assert' and friends.
2011-08-25 19:28:55 +00:00
warn-unused-function.c
We regard a function as 'unused' from the codegen perspective, so our warnings diverge from
2011-04-19 19:51:10 +00:00
warn-unused-label.c
Step #2/N of __label__ support: keep pushing LabelDecl forward,
2011-02-17 20:34:02 +00:00
warn-unused-parameters.c
Implement '-Weverything', which enables all warnings except those explicitly mapped to be ignored.
2011-08-18 01:12:56 +00:00
warn-unused-value.c
Don't warn about unused values in ternary ?: expressions unless both the LHS and RHS are "unused" (side-effect free).
2011-03-01 20:34:48 +00:00
warn-unused-variables.c
Keep an explicit stack of function and block scopes, each element of
2010-03-01 23:15:13 +00:00
warn-write-strings.c
There were some frustrating problems with the implementation of
2011-04-23 06:30:43 +00:00
wchar.c
Initialization improvements: addition of string initialization and a few
2009-12-19 08:11:05 +00:00
weak-import-on-enum.c
Do not warn when weak-import attribute is applied to enum
2011-10-26 23:59:12 +00:00
x86-attr-force-align-arg-pointer.c
Change the wording of the bad-decl-for-attribute warning and error
2011-01-25 03:51:08 +00:00
x86-builtin-palignr.c
Fix vector macros to correctly check argument types. <rdar://problem/10261670>
2011-11-05 06:08:06 +00:00