Lines Matching refs:_Nonnull
20 TestObject *_Nonnull returnsNilObjCInstanceIndirectly() {
25 TestObject * _Nonnull returnsNilObjCInstanceIndirectlyWithSupressingCast() {
27 return (TestObject * _Nonnull)local; // no-warning
30 TestObject * _Nonnull returnsNilObjCInstanceDirectly() {
36 TestObject * _Nonnull returnsNilObjCInstanceDirectlyWithSuppressingCast() {
37 return (TestObject * _Nonnull)nil; // no-warning
40 void testObjCNonARCNoInitialization(TestObject * _Nonnull p) {
41 TestObject * _Nonnull implicitlyZeroInitialized; // no-warning
46 …TestObject * _Nonnull explicitlyZeroInitialized = nil; // expected-warning {{nil assigned to a poi…
53 - (instancetype _Nonnull)initWithNonnullReturnAndSelfCheckingIdiom {
62 - (instancetype _Nonnull)initWithNonnullReturnAndNilReturnViaLocal {
72 - (instancetype _Nonnull)initWithPreconditionViolation:(int)p {
76 return (ClassWithInitializers * _Nonnull)nil;
81 + (instancetype _Nonnull)factoryCallingInitWithNonnullReturnAndSelfCheckingIdiom {
85 + (instancetype _Nonnull)factoryCallingInitWithNonnullReturnAndNilReturnViaLocal {
89 + (instancetype _Nonnull)initWithPreconditionViolation:(int) p {
93 - (TestObject * _Nonnull) returnsNil {
94 return (TestObject * _Nonnull)nil;
96 - (TestObject * _Nonnull) inlineOfReturnsNilObjCInstanceDirectlyWithSuppressingCast {