..
PR2727.c
Fix isIntegerConstantExpr eval of __builtin_offsetof to return result
2008-08-28 18:42:20 +00:00
PR2728.c
Fix isIntegerConstantExpr eval of __builtin_offsetof to return result
2008-08-28 18:42:20 +00:00
PR2919-builtin-types-compat-strips-crv.c
PR2919: __builtin_types_compatible_p strips CRV qualifiers.
2008-10-24 08:07:57 +00:00
PR2923.c
Fix missing %s in run string causing hang during tests.
2008-10-29 19:29:09 +00:00
address-constant.c
PR1963: Address of function is a constant expression
2008-04-04 09:45:30 +00:00
address_spaces.c
Extend QualType::getAddressSpace to do the right thing for array types, and in
2008-03-25 18:36:32 +00:00
annotate.c
add a test case
2008-02-21 19:44:16 +00:00
arg-duplicate.c
reject 'typedef int y; int test(x, y)'.
2008-04-06 06:47:48 +00:00
arg-scope-c99.c
Add support for C++ default arguments, and rework Parse-Sema
2008-04-08 04:40:51 +00:00
arg-scope.c
Add support for C++ default arguments, and rework Parse-Sema
2008-04-08 04:40:51 +00:00
array-constraint.c
Change diagnostic per suggestion, to make it a bit clearer what is
2008-05-27 02:01:50 +00:00
array-declared-as-incorrect-type.c
Add better validation for array types when merging decls. Patch
2007-11-06 04:28:31 +00:00
array-init.c
64-bit test fixes.
2008-11-12 21:19:11 +00:00
asm.c
Fix rdar://6094010 various asserts happening with wide strings in inline asm.
2008-07-23 06:46:56 +00:00
assign-null.c
Move the null pointer constant check from Sema::CheckSingleInitializer/ActOnCallExpr/CheckMessageArgumentTypes/ActOnReturnStmt to Sema::CheckSingleAssignmentConstraints. This makes sure all null pointer assignments are considered compatible.
2007-11-27 17:58:44 +00:00
assign.c
Fix <rdar://problem/5733511> clang doesn't emit error for const array.
2008-02-09 16:59:44 +00:00
ast-print.c
Fix a bug handling typedefs of functions, patch by Nuno Lopes!
2007-12-06 17:20:20 +00:00
attr-deprecated.c
rename some attr tests for consistency.
2008-06-26 06:32:02 +00:00
attr-mode.c
Make ProcessDeclAttributes walk the declarator structure pulling
2008-06-29 00:16:31 +00:00
attr-noreturn.c
Improve attribute parsing & tests.
2008-10-19 02:04:16 +00:00
attr-unused.c
Improve attribute parsing & tests.
2008-10-19 02:04:16 +00:00
bitfield-layout.c
Cleanup/refactoring of Sema struct layout. This patch unifies the struct
2008-05-30 09:31:38 +00:00
block-args.c
Fix <rdar://problem/6252108> assigning to argument passed to block should not require __block.
2008-09-28 14:02:55 +00:00
block-as-object.m
Teach Sema::CheckAssignmentConstraints() to allow assignments between id and block pointer types (^{}).
2008-09-29 18:10:17 +00:00
block-byref-args.c
Finish pushing blocks attribute through the clang attribute machinery.
2008-09-18 16:44:58 +00:00
block-call.c
Downgrade incompatible block pointer error to a warning (to be consistent with incompatible pointer warnings in general).
2008-09-24 23:31:10 +00:00
block-literal.c
Changed Sema::CheckForConstantInitializer to allow global block literals.
2008-10-02 17:12:56 +00:00
block-misc.c
Implement rdar://6319320: give a good diagnostic for cases where people
2008-11-17 19:51:54 +00:00
block-return.c
Fix <rdar://problem/6252216> compare block to NULL.
2008-09-28 01:11:11 +00:00
block-storageclass.c
Finish pushing blocks attribute through the clang attribute machinery.
2008-09-18 16:44:58 +00:00
builtin-object-size.c
Append the test runs with '&&'.
2008-10-05 00:08:56 +00:00
builtin-prefetch.c
Switch several more Sema Diag methods over. This simplifies the
2008-11-19 05:08:23 +00:00
builtin-stackaddress.c
Fix typo in test.
2008-05-20 08:27:04 +00:00
builtins.c
Fix this test on non-X86 platforms.
2008-05-25 04:43:38 +00:00
c89-2.c
-C mode doesn't return comments on "#" lines, so the diag checker doesn't pick them up.
2007-08-30 06:38:49 +00:00
c89.c
typedef void T;
2008-04-10 02:26:16 +00:00
callingconv.c
Add new test
2008-03-07 20:04:49 +00:00
carbon.c
Rename stats to print-stats to avoid conflicting with llvm's
2007-12-30 01:38:50 +00:00
cast.c
casting to void is ok for structs (C99 6.5.4p2), this fixes
2007-10-29 04:26:44 +00:00
check-increment.c
Make sure Sema::CheckIncrementDecrementOperand() removes typedefs when doing it's analysis.
2007-11-11 14:15:57 +00:00
compare.c
Be a bit stricter about array type compatibility.
2008-02-06 04:53:22 +00:00
complex-int.c
GCC supports the complex conjugate operator (an extension) on complex int
2008-07-25 23:52:49 +00:00
compound-literal.c
64-bit test fixes.
2008-11-12 21:19:11 +00:00
conditional-expr.c
Fix <rdar://problem/5928590> clang -fsyntax-only: "incompatible operand types ('int' and 'void')" on input that 'gcc -fsyntax-only' eats
2008-05-12 21:44:38 +00:00
conditional.c
fix type of ?: operator. If one of the operator is void, the type should be void as well.
2008-06-04 19:14:12 +00:00
const-eval.c
Fix for crash issues with comma operators with a void first operand, and
2008-11-13 06:09:17 +00:00
const-ptr-int-ptr-cast.c
Fix for PR2720; be a little bit more permissive in initializers for
2008-08-25 20:46:57 +00:00
constant-builtins-2.c
Teach tryEvaluate that fabs, copysign, and unary +/- are constants for
2008-10-16 03:51:50 +00:00
constant-builtins.c
"Enhance" CheckArithmeticConstantExpression to accept ?: with a constant
2008-10-06 05:42:39 +00:00
constructor-attribute.c
Support __attribute__(({con,de}structor)) in Parse & Sema
2008-07-31 22:40:48 +00:00
darwin-align-cast.c
Put back my temporary hack until Eli addresses this in a more complete fashion.
2008-06-03 22:06:04 +00:00
decl-invalid.c
This patch adds very basic support for parsing and type-checking class
2008-04-13 21:30:24 +00:00
declspec.c
improve error to be something end users will actually understand :)
2008-04-02 17:15:17 +00:00
default.c
rename -parse-ast-print to -ast-print
2007-10-11 00:18:28 +00:00
default1.c
Add support for C++ default arguments, and rework Parse-Sema
2008-04-08 04:40:51 +00:00
deref.c
Tweak fix for http://llvm.org/bugs/show_bug.cgi?id=2000 to work across typedefs.
2008-02-18 15:14:59 +00:00
enum.c
Add test for nested enum redefinition.
2008-08-07 16:22:45 +00:00
expr-address-of.c
Set register storage class correctly for function parameters.
2008-09-03 21:54:21 +00:00
expr-comma-c89.c
c89 does not perform array -> pointer promotion unless the array is an lvalue. This
2008-07-25 21:33:13 +00:00
expr-comma.c
c89 does not perform array -> pointer promotion unless the array is an lvalue. This
2008-07-25 21:33:13 +00:00
exprs.c
Implement rdar://6319320: give a good diagnostic for cases where people
2008-11-17 19:51:54 +00:00
floating-point-compare.c
Fixed test case to not expect a warning when one should not be emitted.
2007-11-29 01:03:21 +00:00
for.c
rename -parse-ast-print to -ast-print
2007-10-11 00:18:28 +00:00
format-attribute.c
Add attribute "format" support for typedefs of function pointers.
2008-05-09 17:36:24 +00:00
format-strings.c
Add support for format string checking of object-size checking
2008-10-02 18:44:07 +00:00
function-ptr.c
give better diagnostics for converting between function pointer and void*.
2008-01-03 22:56:36 +00:00
function-return.c
Tests for return statement checks
2008-10-10 07:20:06 +00:00
function.c
Fix handling of implicit int, resolving PR2012 and reverting (and
2008-04-05 06:32:51 +00:00
i-c-e1.c
new testcase
2007-06-08 17:58:14 +00:00
i-c-e2.c
add a testcase.
2008-10-14 06:32:07 +00:00
i-c-e3.c
Backout of r59196, plus a new ICE test. Sorry if this is a
2008-11-13 02:13:11 +00:00
if-empty-body.c
improve error recovery handling broken 'then' or 'else' stmts in
2007-10-29 05:08:52 +00:00
illegal-types.c
Make sure Sema::GetTypeForDeclarator() deals with abstract declarators when diagnosing incorrect code.
2008-01-14 23:33:18 +00:00
implicit-cast.c
Fix a bug in Sema::CheckConditionalOperands(). When mixing pointers and null pointer constants, we need to promote the null pointer constant (which is an integer) to the pointer type. Test case is self explanatory.
2007-10-18 05:13:08 +00:00
implicit-decl.c
Add explicit support for diagnosing implicit function decls.
2008-04-04 14:32:09 +00:00
implicit-def.c
rename -parse-ast-print to -ast-print
2007-10-11 00:18:28 +00:00
implicit-int.c
Unspecified type specs default to int. This fixes a crash
2007-07-13 21:02:29 +00:00
incomplete-decl.c
new testcase
2008-07-03 03:53:40 +00:00
init-struct-qualified.c
For struct initialization, check compatibility with the unqualified
2008-06-09 03:52:40 +00:00
init.c
Fix PR3031 by silencing follow-on errors in invalid declarations.
2008-11-11 06:13:16 +00:00
int-arith-convert.c
Fix for PR2501; this patch makes usual arithmetic conversions for
2008-06-28 06:23:08 +00:00
invalid-decl.c
Fix PR3031 by silencing follow-on errors in invalid declarations.
2008-11-11 06:13:16 +00:00
invalid-struct-init.c
Tweak test...
2008-02-11 02:16:41 +00:00
member-reference.c
Sema::ActOnMemberReferenceExpr() needs to perform the default conversions.
2007-12-16 21:42:28 +00:00
merge-decls.c
Sema::MergeFunctionDecl()...make sure diagnostic is accurate (wrt function declarations/definitions). Patch by Carl Lewis!
2008-01-16 15:01:34 +00:00
ms-fuzzy-asm.c
Use getLogicalLineNumber() in FuzzyParseMicrosoftAsmStatement(), it's more general and simplifies the code.
2008-02-08 18:01:27 +00:00
nonnull.c
Tidy up sema processing of attribute "nonull":
2008-09-01 19:57:52 +00:00
offsetof.c
make this pass by adding an expected error, add some tests.
2008-01-30 06:46:30 +00:00
pointer-addition.c
Add proper type-checking for pointer additiion; before, we were accepting
2008-05-18 18:08:51 +00:00
pointer-subtract-compat.c
Make sure to take the unqualified versions of the canonical types for
2008-09-02 05:09:35 +00:00
pragma-pack-2.c
Implement #pragma pack use in structure packing. The general approach
2008-10-16 02:34:03 +00:00
pragma-pack.c
Exercise #pragma pack(pop, <width>) in test case.
2008-10-17 16:05:47 +00:00
predef.c
Tighten up handling of __func__ and friends: it should be an array
2008-01-12 18:39:25 +00:00
predefined-function.c
Fix PR2042. One remaining issue: we don't currently diagnose
2008-02-17 19:31:09 +00:00
rdar6248119.m
Enter a new scope for a @try block.
2008-09-26 17:32:47 +00:00
recover-goto.c
Fix a bug recovering from broken code with a goto that Eli reported.
2008-01-25 00:01:10 +00:00
redefinition.c
Clean up handling of function redeclarations
2008-04-21 02:02:58 +00:00
self-comparison.c
Added to test case for "self-comparison check" uses of relation operators: x < x and x > x
2007-10-29 17:02:56 +00:00
sentinel-attribute.c
Add parsing of the sentinel attribute. Still need to create the attribute.
2008-10-05 18:05:59 +00:00
shift.c
Don't do integer promotions of LHS for compound shift assignment. The LHS has to be a modifiable lvalue.
2007-12-13 07:28:16 +00:00
static-init.c
wrap some long diagnostics, make 'initializer is not a constant' diagnostic
2008-08-10 01:58:45 +00:00
stmt_exprs.c
fix some problems handling stmtexprs with labels (PR2374), and
2008-07-26 19:51:01 +00:00
struct-compat.c
Nevermind, these tests work... I messed up my testing.
2008-02-15 06:29:53 +00:00
struct-packed-align.c
Merge postfix attributes on record decls.
2008-10-03 17:33:35 +00:00
switch-duplicate-defaults.c
rename -parse-ast-print to -ast-print
2007-10-11 00:18:28 +00:00
switch.c
rename -parse-ast-print to -ast-print
2007-10-11 00:18:28 +00:00
tentative-decls.c
Fix http://llvm.org/bugs/show_bug.cgi?id=2760 .
2008-09-17 14:05:40 +00:00
text-diag.c
fix crash when printing diagnostics with tokens that span through more than one line
2008-08-05 19:40:20 +00:00
transparent-union-pointer.c
An extremely hacky version of transparent_union support; it isn't
2008-09-02 05:19:23 +00:00
typecheck-binop.c
Both operands to && have to be scalars, not just one.
2008-05-13 20:16:47 +00:00
typedef-prototype.c
implement test/Sema/typedef-prototype.c, allowing code
2007-11-14 06:34:38 +00:00
typedef-redef.c
Reject typedef redefinitions when the underlying types are not identical,
2008-07-25 18:44:27 +00:00
typedef-retain.c
Finally fix PR2189. This makes a fairly invasive but important change to
2008-08-04 07:31:14 +00:00
typedef-variable-type.c
Change diagnostic per suggestion, to make it a bit clearer what is
2008-05-27 02:01:50 +00:00
unnamed-bitfield-init.c
Make sure to count the struct elements correctly; here, we want the
2008-08-09 23:45:45 +00:00
unused-expr.c
Make the unused expression warning a bit less aggressive (found in PHP
2008-05-19 21:24:43 +00:00
usual-float.c
Fix a basic bug (having to do with typedefs) in Sema::UsualArithmeticConversions().
2007-11-10 19:45:54 +00:00
va_arg_x86_64.c
Fix a regression from my fix to PR2631. Fixes PR2692.
2008-08-20 22:17:17 +00:00
varargs.c
Fix PR3075, __builtin_stdarg_start being misprototyped. This affects netbsd headers.
2008-11-16 18:43:46 +00:00
vector-assign.c
http://llvm.org/bugs/show_bug.cgi?id=2523
2008-07-14 18:02:46 +00:00
vector-cast.c
Report errors for invalid casts from/to vectors.
2007-11-27 05:51:55 +00:00
vector-init.c
OCUVector -> ExtVector, shorthand for extended vector, per feedback from Chris.
2008-04-18 23:10:10 +00:00
vla.c
Fix a FIXME by improving a diagnostic, add a testcase for PR3048
2008-11-12 21:25:45 +00:00
void_arg.c
Patch for PR2350; the issue was tnat we were allowing (with an error)
2008-05-22 08:54:03 +00:00
wchar_size.c
Get the type right for wide string literals; it's wchar_t, not char.
2008-05-27 07:57:14 +00:00