clang-1/test/Rewriter
Chris Lattner 553e583e1d make the rewriter add a #ifndef around the #define of __attribute__.
Without it, there is no reason for a compiler that supports it to
emit the dead static globals that the rewriter labels attribute(used).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101149 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-13 17:33:56 +00:00
..
blockcast3.mm Fix rewriting of 'const' __block variables in 2010-02-04 00:07:58 +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 Instead of counting totally diagnostics, split the count into a count 2010-04-07 18:47:42 +00:00
finally.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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
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 Instead of counting totally diagnostics, split the count into a count 2010-04-07 18:47:42 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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-ivar-call.mm Implemented rewriting of invocation of a block ivar. 2009-12-18 01:15:21 +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 Correct radar no. 2010-02-24 01:37:04 +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-cast-ivar-access.mm Fix a nested ivar reference rewriting bug. 2010-02-05 01:35:00 +00:00
rewrite-category-property.mm Comment out category's property decls. in rewrite. 2010-02-10 01:15:09 +00:00
rewrite-eh.m Fix rewriting of MacOS sjlj based eh. 2010-01-12 01:22:23 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
rewrite-foreach-6.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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-forward-class.m Fix rewriting for forward class declaration. 2010-01-11 22:48:40 +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-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.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-property-attributes.mm Support rewriting of property synthesis with retain/copy 2010-02-26 01:42:20 +00:00
rewrite-protocol-qualified.mm Make rewritten source compiled with clang++. 2010-03-04 23:13:29 +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 Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +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-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