llvm-project/clang/test/CodeGenObjCXX
Ted Kremenek e65b086e07 Add clang support for new Objective-C literal syntax for NSDictionary, NSArray,
NSNumber, and boolean literals.  This includes both Sema and Codegen support.
Included is also support for new Objective-C container subscripting.

My apologies for the large patch.  It was very difficult to break apart.
The patch introduces changes to the driver as well to cause clang to link
in additional runtime support when needed to support the new language features.

Docs are forthcoming to document the implementation and behavior of these features.

llvm-svn: 152137
2012-03-06 20:05:56 +00:00
..
Inputs Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
2007-10-03-MetadataPointers.mm Migrate and update: 2011-08-20 00:25:36 +00:00
2010-08-04-Template.mm Migrate and update: 2011-08-20 00:25:36 +00:00
2010-08-06-X.Y-syntax.mm Migrate and update: 2011-08-20 00:25:36 +00:00
address-safety-attr.mm Move the code that sets the AddressSafety 2012-02-02 11:49:28 +00:00
arc-exceptions.mm When initializing a catch variable in ARC, be sure to emit retains 2012-01-17 20:16:56 +00:00
arc-globals.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-mangle.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-move.mm Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
arc-new-delete.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-pseudo-destructors.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-references.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-returns-inner-reference-ptr.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc-special-member-functions.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
arc.mm Make sure that we infer __strong, etc. when we instantiate variables 2011-12-10 01:22:52 +00:00
block-in-template-inst.mm Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
block-var-layout.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
blocks.mm Switch diagnostic text from "C++0x" over to "C++11". 2011-10-12 19:26:40 +00:00
catch-id-type.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
copy.mm Elide copy construction in new expressions. PR11757. 2012-02-16 22:45:48 +00:00
copyable-property-object.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
debug-info.mm No need to go to object file, -emit-llvm is sufficient to see if clang 2012-02-21 22:25:20 +00:00
encode.mm Fix assertion hit when @encoding C++ classes. rdar://10172840 & http://llvm.org/PR10990 2011-09-26 18:14:24 +00:00
exceptions.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
foreach-statement.mm Objective-c++ IR gen. 2010-05-27 16:05:06 +00:00
gc.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
implicit-copy-assign-operator.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
implicit-copy-constructor.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
ivar-objects.mm The emission of an Objective-C++'s class .cxx_destruct method should be 2011-03-22 07:05:39 +00:00
lambda-expressions.mm Make CodeGenFunction::EmitBlockCopyAndAutorelease actually do what its name says. 2012-03-01 22:52:28 +00:00
literals.mm Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
lvalue-reference-getter.mm obj-c++: Fix a IRGen crash when getter is a reference type. 2011-10-17 21:00:22 +00:00
mangle-blocks.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
mangle.mm Don't add objc method name mangling to locally declared function. 2011-06-09 19:25:01 +00:00
message-reference.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
method-local-extern-mangle.mm extern variable declared locally to objective-c++ method 2010-06-30 18:27:47 +00:00
nrvo.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
objc-container-subscripting-1.mm Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
objc-container-subscripting.mm Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
property-derived-to-base-conv.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
property-dot-copy.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
property-dot-reference.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
property-object-conditional-exp.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
property-object-reference-1.mm Fixes a code gen bug for setter code for a property of 2012-01-05 00:10:16 +00:00
property-object-reference-2.mm objc++: patch for IRgen for atomic properties of 2012-01-10 00:37:01 +00:00
property-object-reference.mm obj-c++: allow the getter/setter to return/take parameters 2011-10-15 17:36:49 +00:00
property-objects.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
property-reference.mm objc++: more code gen stuff for atomic property api, 2012-01-06 22:33:54 +00:00
refence-assign-write-barrier.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
references.mm Warn for any kind of initialization if initializer does not 2011-04-08 18:25:29 +00:00
rtti.mm Mark VTables and RTTI data linkonce_odr instead of weak_odr, with the exception of explicit template instantiations, which have to be weak_odr. 2011-01-24 00:46:19 +00:00
selector-expr-lvalue.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00
write-barrier-global-assign.mm Make -fobjc-nonfragile-abi the -cc1 default, since it's the 2011-10-02 01:16:38 +00:00