llvm-project/clang/test/Rewriter
John McCall 5fb5df9c83 Restructure how the driver communicates information about the
target Objective-C runtime down to the frontend:  break this
down into a single target runtime kind and version, and compute
all the relevant information from that.  This makes it
relatively painless to add support for new runtimes to the
compiler.  Make the new -cc1 flag, -fobjc-runtime=blah-x.y.z,
available at the driver level as a better and more general
alternative to -fgnu-runtime and -fnext-runtime.  This new
concept of an Objective-C runtime also encompasses what we
were previously separating out as the "Objective-C ABI", so
fragile vs. non-fragile runtimes are now really modelled as
different kinds of runtime, paving the way for better overall
differentiation.

As a sort of special case, continue to accept the -cc1 flag
-fobjc-runtime-has-weak, as a sop to PLCompatibilityWeak.

I won't go so far as to say "no functionality change", even
ignoring the new driver flag, but subtle changes in driver
semantics are almost certainly not intended.

llvm-svn: 158793
2012-06-20 06:18:46 +00:00
..
blockcast3.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
blockstruct.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
crash.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +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 Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
func-in-impl.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
id-test-3.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
inner-block-helper-funcs.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
instancetype-test.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
ivar-encoding-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
ivar-encoding-2.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
metadata-test-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
metadata-test-2.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
method-encoding-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
missing-dllimport.c fix PR7280 by making the warning on code like this: 2010-07-11 23:34:02 +00:00
objc-bool-literal-check-modern.mm objective-c modern translator: buildit objc bool 2012-04-16 21:03:30 +00:00
objc-bool-literal-modern-1.mm modern objc translator: used size_t in couple 2012-05-03 21:44:12 +00:00
objc-bool-literal-modern.mm objective-c modern translator: buildit objc bool 2012-04-16 21:03:30 +00:00
objc-encoding-bug-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
objc-ivar-receiver-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
objc-modern-boxing.mm [objc] When boxing a BOOL/NSInteger/NSUInteger type, use the corresponding 2012-05-10 23:12:03 +00:00
objc-modern-class-init-hooks.mm objective-c modern translator: move all inithooks into a single array 2012-03-27 18:41:05 +00:00
objc-modern-class-init.mm modern objective-c translator: add static function to initialize 2012-03-20 21:41:28 +00:00
objc-modern-container-subscript.mm modern objective-c translation: writing container 2012-04-10 22:06:54 +00:00
objc-modern-getclass-proto.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
objc-modern-implicit-cast.mm modern objective-c translator: translation of implicit 2012-04-16 22:14:01 +00:00
objc-modern-ivar-receiver-1.mm Commit patch reverted in r153454 with the modified test 2012-03-27 16:21:30 +00:00
objc-modern-linkage-spec.mm modern objective-c translator: rewriter linkage spec. 2012-04-03 17:35:38 +00:00
objc-modern-metadata-visibility.mm modern objc translator: additional test. 2012-03-29 18:20:51 +00:00
objc-modern-numeric-literal.mm objective-c modern translator: buildit objc bool 2012-04-16 21:03:30 +00:00
objc-modern-property-attributes.mm objc modern translator: fix up attribute for dynamic property in a category. 2012-05-03 23:19:33 +00:00
objc-string-concat-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
objc-super-test.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
objc-synchronized-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
properties.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
property-dot-syntax.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
protocol-rewrite-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
protocol-rewrite-2.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-anonymous-union.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-api-bug.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-block-argument.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-block-consts.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-block-ivar-call.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-block-literal-1.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-block-literal.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-block-pointer.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-block-property.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-byref-in-nested-blocks.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-byref-vars.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +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 Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-cast-ivar-modern-access.mm another test for modern ivar access rewrite. 2012-02-22 22:32:05 +00:00
rewrite-cast-to-bool.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-category-property.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-constructor-init.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-eh.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-elaborated-type.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-extern-c.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-foreach-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-foreach-2.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-foreach-3.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-foreach-4.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-foreach-5.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-foreach-6.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-foreach-7.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-foreach-in-block.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-foreach-protocol-id.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-forward-class.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-forward-class.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-function-decl.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-implementation.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-ivar-use.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-local-externs-in-block.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-local-static-id.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-message-expr.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-modern-array-literal.mm modern objective-c translator: translate array literal 2012-04-06 19:47:36 +00:00
rewrite-modern-atautoreleasepool.mm modern objc translation: Add translation of @autoreleasepool 2012-05-23 23:47:20 +00:00
rewrite-modern-block-consts.mm modern objc translator: used size_t in couple 2012-05-03 21:44:12 +00:00
rewrite-modern-block-ivar-call.mm objective-c modern translator: Refactor intername ivar names to 2012-03-20 17:13:39 +00:00
rewrite-modern-block.mm modern objc translator: used size_t in couple 2012-05-03 21:44:12 +00:00
rewrite-modern-captured-nested-bvar.mm objective-c modern translator: more tests. 2012-04-25 20:48:00 +00:00
rewrite-modern-catch.m modern objective-c translator: rewriting of @catch-stmt. 2012-03-15 20:11:10 +00:00
rewrite-modern-class.mm modern objc translator. more writing of modern ivar access 2012-02-22 18:13:25 +00:00
rewrite-modern-container-literal.mm objective-c modern translator: buildit objc bool 2012-04-16 21:03:30 +00:00
rewrite-modern-default-property-synthesis.mm Test for previously checked in patch. 2012-05-10 17:05:15 +00:00
rewrite-modern-extern-c-func-decl.mm modern objc translator: used size_t in couple 2012-05-03 21:44:12 +00:00
rewrite-modern-ivar-access.mm clang/test/Rewriter: Remove XFAIL and add -U__declspec to other 9 tests. mingw32 tends to define built-in __declspec. 2012-05-01 10:52:06 +00:00
rewrite-modern-ivar-use.mm more tests for modern objc translator. 2012-02-22 21:13:49 +00:00
rewrite-modern-ivars-1.mm clang/test/Rewriter: Remove XFAIL and add -U__declspec to other 9 tests. mingw32 tends to define built-in __declspec. 2012-05-01 10:52:06 +00:00
rewrite-modern-ivars-2.mm modern objective-c translator. Fixes a translation bug when 2012-04-11 21:12:36 +00:00
rewrite-modern-ivars.mm modern objc translator. Finish off first cut of the 2012-02-20 20:09:20 +00:00
rewrite-modern-nested-ivar.mm objective-c modern translator: Refactor intername ivar names to 2012-03-20 17:13:39 +00:00
rewrite-modern-private-ivars.mm modern objective-c translation of private ivars. 2012-05-01 17:46:45 +00:00
rewrite-modern-protocol-1.mm objective-c modern translator: Make metadata 2012-04-14 17:13:08 +00:00
rewrite-modern-protocol.mm modern objc translator. Finish off first cut of the 2012-02-20 20:09:20 +00:00
rewrite-modern-struct-ivar-1.mm Modern objective-c translation: Fixing couple of bugs 2012-05-02 17:34:59 +00:00
rewrite-modern-struct-ivar.mm clang/test/Rewriter: Remove XFAIL and add -U__declspec to other 9 tests. mingw32 tends to define built-in __declspec. 2012-05-01 10:52:06 +00:00
rewrite-modern-super.mm modern objective-c translator: When translating 2012-04-13 16:20:05 +00:00
rewrite-modern-synchronized.m modern objective-c translator: fix type of objc_exception_throw 2012-03-19 18:11:32 +00:00
rewrite-modern-throw.m modern objective-c translator: fix type of objc_exception_throw 2012-03-19 18:11:32 +00:00
rewrite-modern-try-catch-finally.m modern objective-c translator: fix type of objc_exception_throw 2012-03-19 18:11:32 +00:00
rewrite-modern-try-finally.m modern objective-c translator: fix type of objc_exception_throw 2012-03-19 18:11:32 +00:00
rewrite-modern-typeof.mm modern objc translator: used size_t in couple 2012-05-03 21:44:12 +00:00
rewrite-nest.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-nested-blocks-1.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-nested-blocks-2.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-nested-blocks.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-nested-ivar.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-nested-property-in-blocks.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-no-nextline.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-property-attributes.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-property-set-cfstring.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-protocol-property.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-protocol-qualified.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-protocol-type-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-qualified-id.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-rewritten-initializer.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-static-block.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-super-message.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-trivial-constructor.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-try-catch.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-typeof.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-unique-block-api.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-user-defined-accessors.mm Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-vararg.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
rewrite-weak-attr.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
static-type-protocol-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
undecl-objc-h.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
undeclared-method-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
undef-field-reference-1.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
unnamed-bf-modern-write.mm objective-c modern translator. Don't ignore unnamed bitfields 2012-03-06 17:16:27 +00:00
va-method.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00
weak_byref_objects.m Restructure how the driver communicates information about the 2012-06-20 06:18:46 +00:00