Fariborz Jahanian
4806ff8af9
Warn for any kind of initialization if initializer does not
...
implement lhs's protocols. // rdar://9091389.
llvm-svn: 129142
2011-04-08 18:25:29 +00:00
Fariborz Jahanian
b24b568725
Implements property of reference types. Adding
...
an executable test to llvm test suite.
// rdar://9070460.
llvm-svn: 128435
2011-03-28 23:47:18 +00:00
Douglas Gregor
22da8ebafc
Add some more tests for reference binding of Objective-C objects
...
llvm-svn: 110514
2010-08-07 11:56:45 +00:00
Douglas Gregor
8b2d2fe234
Allow reference binding of a reference of Objective-C object type to
...
an lvalue of another, compatible Objective-C object type (e.g., a
subclass). Introduce a new initialization sequence step kind to
describe this binding, along with a new cast kind. Fixes PR7741.
llvm-svn: 110513
2010-08-07 11:51:51 +00:00
Douglas Gregor
0bdcb8a239
When taking the address of a value of Objective-C object type (e.g.,
...
one because we're referencing a variable of type NSString &), the
resulting type is an ObjCObjectPointerType.
llvm-svn: 109753
2010-07-29 16:05:45 +00:00
Fariborz Jahanian
00857fc376
Diagnose property of reference type as unsupported
...
instead of crashing for now.
llvm-svn: 91546
2009-12-16 18:03:30 +00:00
Daniel Dunbar
8fbe78f6fc
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
...
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).
llvm-svn: 91446
2009-12-15 20:14:24 +00:00
Fariborz Jahanian
0a47cdfeef
Make tests use the new clang -cc1 flag.
...
llvm-svn: 91298
2009-12-14 17:43:07 +00:00
Daniel Dunbar
a530841b4f
Switch XFAIL format to match LLVM.
...
llvm-svn: 85880
2009-11-03 07:25:45 +00:00
Chris Lattner
d829eb65ff
this test crashes, disable it harder.
...
llvm-svn: 77342
2009-07-28 18:22:50 +00:00
Daniel Dunbar
635b8050c4
Add an XFAIL test to demonstrate references in Obj-C++, this currently crashes.
...
llvm-svn: 72923
2009-06-05 06:03:19 +00:00