[PATCH] D67567: [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 13 18:54:08 PDT 2019
NoQ added a comment.
FTR, we already have a similar Static Analyzer check, eg.: https://github.com/llvm-mirror/clang/blob/release_80/test/Analysis/dispatch-once.m#L15
Your check is a bit more aggressive but i don't see why didn't we do it that way in the first place :)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67567/new/
https://reviews.llvm.org/D67567
More information about the cfe-commits
mailing list