
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
142 B
C
6 lines
142 B
C
#pragma clang system_header
|
|
|
|
// Define 'errno' as a macro that calls a function.
|
|
int *__errno_location();
|
|
#define errno (*__errno_location())
|