repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Analysis
/
block-in-critical-section.m
blob
73d58479f4bf4afbbb8d8170751ac90a5e353b10
1
// RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class %s
2
// expected-no-diagnostics
3
4
@interface SomeClass
5
-(void)someMethod;
6
@end
7
8
void shouldNotCrash(SomeClass *o) {
9
[o someMethod];
10
}