llvm-project/clang/test/Rewriter
Fariborz Jahanian 9f0bc5757c objc rewriter - more fixes to support compiling the rewritten
test case having instancetype. Fix in rewriter is unrelated to
using of instancetype. Test case uses other feature not yet
supported in the rewriter. There is more work to do, but this
is an ongoing task and not urgent at this time.

llvm-svn: 139473
2011-09-10 17:01:56 +00:00
..
blockcast3.mm Fix rewriting of 'const' __block variables in 2010-02-04 00:07:58 +00:00
blockstruct.m Fix an objective-c rewriter bug rewriting a __block 2011-01-27 23:18:15 +00:00
crash.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
dllimport-typedef.c Change the wording of the bad-decl-for-attribute warning and error 2011-01-25 03:51:08 +00:00
finally.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
id-test-3.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
inner-block-helper-funcs.mm Test for // rdar://9846759 2011-07-31 20:27:31 +00:00
instancetype-test.mm objc rewriter - more fixes to support compiling the rewritten 2011-09-10 17:01:56 +00:00
ivar-encoding-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ivar-encoding-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
metadata-test-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
metadata-test-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
method-encoding-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
missing-dllimport.c fix PR7280 by making the warning on code like this: 2010-07-11 23:34:02 +00:00
objc-encoding-bug-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc-ivar-receiver-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc-string-concat-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc-super-test.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc-synchronized-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
properties.m Warn about code that uses variables and functions with internal linkage 2011-02-19 02:53:41 +00:00
property-dot-syntax.mm Rewrite bug fix rewriting a property assignment when 2010-10-14 23:31:39 +00:00
protocol-rewrite-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rewrite-anonymous-union.m Fix a problem related to rewrite of anonymous unions. 2010-01-11 21:17:32 +00:00
rewrite-api-bug.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rewrite-block-argument.m Patch to rewrite block pointers as arguments to 2010-05-25 15:56:08 +00:00
rewrite-block-consts.mm Initialize block's imported variable(s) in 2010-07-28 23:27:30 +00:00
rewrite-block-ivar-call.mm Implemented rewriting of invocation of a block ivar. 2009-12-18 01:15:21 +00:00
rewrite-block-literal-1.mm Fixup more objc rwriter bug having to do with 2011-04-11 21:17:02 +00:00
rewrite-block-literal.c Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rewrite-block-pointer.mm Fixes a rewriter bug rewriting call to a byref 2011-04-01 23:08:13 +00:00
rewrite-block-property.m Fix a rewriter bug involving call to property's 2011-02-26 00:33:41 +00:00
rewrite-byref-in-nested-blocks.mm Prevent rewriter crash when variable type is missing. 2010-02-26 22:49:11 +00:00
rewrite-byref-vars.mm Change test to compile rewritten test with clang++. 2010-03-04 21:57:21 +00:00
rewrite-captured-nested-bvar.c Block rewriting bug. Don't take address of captured 2011-02-16 22:37:10 +00:00
rewrite-cast-ivar-access.mm Fix a nested ivar reference rewriting bug. 2010-02-05 01:35:00 +00:00
rewrite-cast-to-bool.mm objc rewriter: Fixes a rewriting of implicit casting of an integral 2011-08-04 23:58:03 +00:00
rewrite-category-property.mm Comment out category's property decls. in rewrite. 2010-02-10 01:15:09 +00:00
rewrite-constructor-init.mm Fix a rewriter bug which originates in SemaInit involving 2010-07-21 17:36:39 +00:00
rewrite-eh.m Make clang -cc1 disable Objective-C exceptions by default, and add a -fobjc-exceptions flag to turn them on. 2011-02-22 01:52:06 +00:00
rewrite-elaborated-type.mm Rewriter: Use the appropriate printing context instead of the default 2010-06-30 19:16:53 +00:00
rewrite-extern-c.mm Do not do the block-specific rewrite when there is no block literals. 2010-01-15 18:14:52 +00:00
rewrite-foreach-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rewrite-foreach-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rewrite-foreach-3.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rewrite-foreach-4.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rewrite-foreach-5.m Fix a rewrite bug. // rdar://9039342 2011-02-24 21:29:21 +00:00
rewrite-foreach-6.m Fix a rewrite bug. // rdar://9039342 2011-02-24 21:29:21 +00:00
rewrite-foreach-7.m clang ObjC rewriter: generated code used in "for (x in y)" loop uses 2010-01-08 01:29:44 +00:00
rewrite-foreach-in-block.mm objective-c rewrite: Fixes rewriting of objective-c collection 2011-08-02 20:28:46 +00:00
rewrite-foreach-protocol-id.m Fix a rewrite bug. // rdar://9039342 2011-02-24 21:29:21 +00:00
rewrite-forward-class.m objective-c: Treat top-level objective-c declarations 2011-08-27 20:50:59 +00:00
rewrite-forward-class.mm Fix a rewriter bug caused by recent changes in objc's 2011-08-29 22:21:46 +00:00
rewrite-function-decl.mm Fix a bug in rewrite whereby functions using blocks put extern "C" in wrong place. 2010-01-14 00:35:56 +00:00
rewrite-implementation.mm More rewriter test converted to compile with clang. 2010-02-16 22:27:50 +00:00
rewrite-ivar-use.m Fixup rewrite of ivars accessed via an explicit object 2010-01-11 17:50:35 +00:00
rewrite-local-externs-in-block.mm Add tentative support for accessing local variables with 2010-03-11 18:20:03 +00:00
rewrite-local-static-id.mm Fix a rewriting bug where a local static objective-c 2010-05-24 18:32:56 +00:00
rewrite-message-expr.mm Removed non-essential header file from test. 2010-02-05 18:04:36 +00:00
rewrite-nest.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rewrite-nested-blocks-1.mm More rewriter of nested blocks fun stuff. 2010-03-01 23:36:21 +00:00
rewrite-nested-blocks-2.mm Fix a block rewriter bug where copy/dispose entries in 2010-10-05 18:05:06 +00:00
rewrite-nested-blocks.mm Rewriting of imported variable from outer 2010-02-26 19:05:20 +00:00
rewrite-nested-ivar.mm Make rewritten source compiled with clang++ for correctness. 2010-03-04 23:03:49 +00:00
rewrite-nested-property-in-blocks.mm Fix rewriter to match recent changes in property ref 2010-12-04 21:22:13 +00:00
rewrite-no-nextline.mm Fix an objective-c rewriter bug when pre-processed file's 2010-05-24 17:22:38 +00:00
rewrite-property-attributes.mm Support rewriting of property synthesis with retain/copy 2010-02-26 01:42:20 +00:00
rewrite-property-set-cfstring.mm When dealing with an assignment with LHS being a property reference 2010-10-08 21:12:22 +00:00
rewrite-protocol-property.mm Fix a rewriting bug of rewriting properties declared in 2010-10-16 00:29:27 +00:00
rewrite-protocol-qualified.mm Rewriting array element type of qualified-id. 2010-09-30 20:41:32 +00:00
rewrite-protocol-type-1.m Patch to implement rewriting of properties. 2010-01-21 17:36:00 +00:00
rewrite-qualified-id.mm Fixes a rewriting of qualified-id type which exposed a bigger 2010-02-23 21:34:38 +00:00
rewrite-rewritten-initializer.mm Fixes a rewriting of byref variable when its initializer is 2010-02-22 20:48:10 +00:00
rewrite-static-block.mm Fixes a bug whereby static const block var has static 2010-03-04 18:54:29 +00:00
rewrite-super-message.mm make the rewriter add a #ifndef around the #define of __attribute__. 2010-04-13 17:33:56 +00:00
rewrite-trivial-constructor.mm Fixes a rewrite bug rewriting a block call argument which has a trvial 2010-01-13 21:41:11 +00:00
rewrite-try-catch.m Teach objc-rewriter to pass -fobjc-exceptions along. 2011-02-25 17:24:55 +00:00
rewrite-typeof.mm Provide rewriting suppport for use of __typeof__ 2010-02-10 18:54:22 +00:00
rewrite-unique-block-api.mm More rewriter test converted to compile with clang. 2010-02-16 22:27:50 +00:00
rewrite-user-defined-accessors.mm Do not rewrite new accessor if user has defined accessors. 2010-10-19 23:47:54 +00:00
rewrite-vararg.m Fix objc rewriting bug casting to qualified objective-c pointetr. 2011-02-26 01:31:36 +00:00
rewrite-weak-attr.m Define __weak attribute for objective-c pointers in 2010-01-12 18:33:57 +00:00
static-type-protocol-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
undecl-objc-h.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
undeclared-method-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
undef-field-reference-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
va-method.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
weak_byref_objects.m Make this test be ingored for linux. 2010-01-07 00:31:48 +00:00