Home | History | Annotate | Download | only in SemaObjC

Lines Matching full:default

1 // RUN: %clang_cc1 -x objective-c -fsyntax-only -fobjc-default-synthesize-properties -verify -Wno-objc-root-class %s
2 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -fobjc-default-synthesize-properties -verify -Wno-objc-root-class %s
17 // default synthesis allows direct access to property ivars.
34 // default synthesized; thus causing user error.
51 // Oops, forgot to write @synthesize! will be default synthesized
66 // default synthesize property named 'var'
69 return self->_var; // compiles because 'var' is synthesized by default
80 // default synthesis of property 'var'
95 // no default synthesis. So error is expected.
110 // With default synthesis, '_object' is be the synthesized ivar not the global