block-in-critical-section.m 246 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 // RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class %s // expected-no-diagnostics @interface SomeClass -(void)someMethod; @end void shouldNotCrash(SomeClass *o) { [o someMethod]; }