forked from OSchip/llvm-project
parent
eae2a0eb8f
commit
394dfeb37b
|
@ -194,7 +194,7 @@ void f12() {
|
|||
}
|
||||
|
||||
- (id)notShared {
|
||||
return [[SharedClass alloc] _init]; // expected-warning{{[naming convention] leak of returned object}}
|
||||
return [[SharedClass alloc] _init]; // expected-warning{{leak}}
|
||||
}
|
||||
|
||||
+ (id)sharedInstance {
|
||||
|
|
Loading…
Reference in New Issue