mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
f7c5fbb1ca982eebad6000d2ca53d8ad2cb922ff
llvm-svn: 248920
Adding a checker (misc-non-copyable-objects) that detects situations where a non-copyable C type is being dereferenced, such as FILE or pthread_mutex_t. Corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/display/c/FIO38-C.+Do+not+copy+a+FILE+object
Languages
LLVM
41.5%
C++
31.7%
C
13%
Assembly
9.1%
MLIR
1.5%
Other
2.8%