
Add a checker to maintain the system-defined value 'errno'. The value is supposed to be set in the future by existing or new checkers that evaluate errno-modifying function calls. Reviewed By: NoQ, steakhal Differential Revision: https://reviews.llvm.org/D120310
6 lines
143 B
C
6 lines
143 B
C
#pragma clang system_header
|
|
|
|
// Declare 'errno' as an extern variable in a system header.
|
|
// This may be not allowed in C99.
|
|
extern int errno;
|