clang-1/test/Sema
Steve Naroff 0416fb9f37 This is the last 5% of the solution to teaching Sema::ActOnInstanceMessage() about private methods (r43989).
While the diff is large, the idea is very simple. When we parse method definitions (in an @implementation), we need to add them incrementally (rather than wait until the @end).

Other details...

- Renamed Sema::ActOnAddMethodsToObjcDecl() to Sema::ActOnAtEnd(). The methods are now optional arguments.
- Removed Parser::AllImplMethods (a nice cleanup).
- Added location info to ObjcImplementationDecl (since we will need it very soon:-)
- Modified message.m test to no longer allow the bogus diagnostic.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43995 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-11 17:19:15 +00:00
..
DoubleMethod.m Patch to diagnose duplicate method implementations. 2007-10-16 21:52:23 +00:00
alias-test-1.m This patch implementa objective-c's @compatibilty-alias declaration. 2007-10-11 23:42:27 +00:00
alias-test-2.m Fixed a @compatible_alias bug. In the process, discovered unnecessary 2ndry lookup 2007-10-12 19:38:20 +00:00
arg-duplicate.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
arg-invalid.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
argument-checking.m Predefine all the ObjC goodies from <objc/objc.h>. Removed all the ObjC goodies from the respective test files. Moving forward, it will be very nice to assume these builtin! 2007-10-17 17:53:50 +00:00
array-constraint.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +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 Fix the following bug... 2007-10-18 03:27:23 +00:00
assign.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +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 rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
carbon.c the sse intrinsics are missing, leading to errors. 2007-08-04 00:19:10 +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
category-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
cfstring.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
check-dup-decl-methods-1.m Patch to check for duplicate method decls in protocols. 2007-10-12 23:43:31 +00:00
check-dup-objc-decls-1.m Several name lookup conflict detection fixes involving objective-c names. 2007-10-15 19:16:57 +00:00
check-increment.c Make sure Sema::CheckIncrementDecrementOperand() removes typedefs when doing it's analysis. 2007-11-11 14:15:57 +00:00
class-conforming-protocol-1.m Patch to create protocol conforming class types. 2007-10-11 00:55:41 +00:00
class-def-test-1.m Several name lookup conflict detection fixes involving objective-c names. 2007-10-15 19:16:57 +00:00
class-impl-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
class-proto-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
cocoa.m The goal of this commit is to get just enough Sema support to recognize Objective-C classes 2007-09-06 21:24:23 +00:00
compare.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
conflicting-ivar-test-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
cxx-references.cpp initialization of references should not do default fn/array promotions. 2007-10-16 02:55:40 +00:00
decl-invalid.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
default.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
enum.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
floating-point-compare.c For checking for floating point comparison using == or !=, we now suppress 2007-10-29 16:40:01 +00:00
for.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
format-strings.c Fix a warning 2007-10-15 02:50:04 +00:00
forward-class-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
i-c-e1.c Stage two of getting CFE top correct. 2007-07-11 17:01:13 +00:00
i-c-e2.c Remove an extraneous QualType from CastExpr, it's type is always 2007-07-15 23:54:50 +00:00
id_builtin.m rename test file for builtin "id"... 2007-10-17 18:39:04 +00:00
if-empty-body.c improve error recovery handling broken 'then' or 'else' stmts in 2007-10-29 05:08:52 +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-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
init.c Implement test/Sema/init.c by treating functions as constants. 2007-11-01 02:45:17 +00:00
invalid-decl.c Fix a crash on test/Sema/invalid-decl.c 2007-10-19 20:10:30 +00:00
invalid-objc-decls-1.m Check and diagnose that objective-c objects may not be statically allocated. 2007-10-12 22:10:42 +00:00
ivar-encoding-1.m Fixed tests. 2007-10-30 20:41:57 +00:00
ivar-encoding-2.m Fixed problem with rewriting stand-alone @implementation (with no matching @interface). 2007-10-31 18:48:14 +00:00
ivar-sem-check-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
merge-decls.c improve decl merging logic to be more correct with 2007-11-06 06:07:26 +00:00
message.m This is the last 5% of the solution to teaching Sema::ActOnInstanceMessage() about private methods (r43989). 2007-11-11 17:19:15 +00:00
method-def-1.m Added class context to method declarations. Provide "interface *" type 2007-11-09 19:52:12 +00:00
method-def-2.m pretty priting for method definitions. 2007-11-10 20:59:13 +00:00
method-encoding-1.m Fixed tests. 2007-10-30 20:41:57 +00:00
method-encoding-2.m Insert invisble arguments to method definition header. 2007-11-09 17:18:29 +00:00
method-not-defined.m Predefine all the ObjC goodies from <objc/objc.h>. Removed all the ObjC goodies from the respective test files. Moving forward, it will be very nice to assume these builtin! 2007-10-17 17:53:50 +00:00
method-undef-category-warn-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
method-undefined-warn-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
missing-string-interface.m Include a simple test case for the previous commit... 2007-10-19 00:05:15 +00:00
objc-legacy-implementation-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
objc-unused.m objc messages have side effects, return true from hasLocalSideEffect, 2007-09-26 22:06:30 +00:00
offsetof.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
protocol-expr-1.m Implementation of AST for @protocol expression. 2007-10-17 16:58:11 +00:00
protocol-expr-neg-1.m Implementation of AST for @protocol expression. 2007-10-17 16:58:11 +00:00
protocol-test-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
protocol-test-2.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
return-stack-addr.cpp rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
selector-1.m Predefine all the ObjC goodies from <objc/objc.h>. Removed all the ObjC goodies from the respective test files. Moving forward, it will be very nice to assume these builtin! 2007-10-17 17:53:50 +00:00
selector-overload.m Predefine all the ObjC goodies from <objc/objc.h>. Removed all the ObjC goodies from the respective test files. Moving forward, it will be very nice to assume these builtin! 2007-10-17 17:53:50 +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
static-init.c Generate code for static variables that don't have initializers. Also, report an error if a static initializer is not constant. 2007-10-17 00:52:43 +00:00
stmt_exprs.c implement ast building and trivial semantic analysis of stmt exprs. 2007-07-24 16:58:17 +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
typedef-retain.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00
undef-protocol-methods-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
undef-superclass-1.m Fixed all my recent test cases to have the RUN command and 2007-10-04 00:22:33 +00:00
undefined-protocol-type-1.m This is the first patch toward supporting protocol conforming 2007-10-05 21:01:53 +00:00
unused-expr.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +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
varargs.c Add some more diagnostics for va_start, fix tests so they pass with these new diags. 2007-10-12 17:48:41 +00:00
void_arg.c rename -parse-ast-print to -ast-print 2007-10-11 00:18:28 +00:00