forked from OSchip/llvm-project
Change text of diagnostics on user request.
radar 7948654. llvm-svn: 110857
This commit is contained in:
parent
1675ee7a02
commit
0bce17e572
|
@ -2234,7 +2234,7 @@ def ext_integer_complement_complex : Extension<
|
|||
def error_nosetter_property_assignment : Error<
|
||||
"setter method is needed to assign to object using property" " assignment syntax">;
|
||||
def error_no_subobject_property_setting : Error<
|
||||
"expression is not assignable using property assignment syntax">;
|
||||
"expression is not assignable">;
|
||||
|
||||
def ext_freestanding_complex : Extension<
|
||||
"complex numbers are an extension in a freestanding C99 implementation">;
|
||||
|
|
|
@ -15,8 +15,8 @@ typedef struct NSSize {
|
|||
|
||||
void foo() {
|
||||
Foo *f;
|
||||
f.size.width = 2.2; // expected-error {{expression is not assignable using property assignment syntax}}
|
||||
f.size.inner.dim = 200; // expected-error {{expression is not assignable using property assignment syntax}}
|
||||
f.size.width = 2.2; // expected-error {{expression is not assignable}}
|
||||
f.size.inner.dim = 200; // expected-error {{expression is not assignable}}
|
||||
}
|
||||
|
||||
// radar 7628953
|
||||
|
@ -28,7 +28,7 @@ void foo() {
|
|||
|
||||
@implementation Gorf
|
||||
- (void)MyView_sharedInit {
|
||||
self.size.width = 2.2; // expected-error {{expression is not assignable using property assignment syntax}}
|
||||
self.size.width = 2.2; // expected-error {{expression is not assignable}}
|
||||
}
|
||||
- (NSSize)size {}
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue