
After recent improvements (#80029) and testing on open-source projects, the checker is ready to move out of the alpha package.
7 lines
180 B
C
7 lines
180 B
C
// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.BlockInCriticalSection -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
// This should not crash
|
|
int (*a)(void);
|
|
void b(void) { a(); }
|