tidy - misc-non-copyable-objects — Extra Clang Tools 22.0.0git documentation (original) (raw)
misc-non-copyable-objects¶
cert-fio38-c redirects here as an alias for this check.
Flags dereferences and non-pointer declarations of objects that are not meant to be passed by value, such as C FILE objects or POSIXpthread_mutex_t objects.
References¶
This check corresponds to CERT C++ Coding Standard rule FIO38-C. Do not copy a FILE object.