balazske wrote:

> Why do we need to keep these two checkers in-sync?

Technically the checkers work independently. There is a functionality that is 
added by `StdLibraryFunctionsChecker`, the modeling of `errno` (this works even 
if `StreamChecker` is not used), and maybe some preconditions are more exact. 
And I think it is better if a function is handled by one checker, then the same 
function is recognized by another (and related) checker. 
`StdLibraryFunctionsChecker` currently contains a subset of the C or POSIX API 
functions and it looks difficult for an user to tell what these functions are 
and why are some missing.


https://github.com/llvm/llvm-project/pull/76979
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to