[PATCH] D67567: New ClangTidy check to warn when storing dispatch_once_t in non-static, non-global storage

Ben Hamilton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 13 14:30:55 PDT 2019


benhamilton added a comment.

It definitely shouldn't be in an `osx` directory since it's available on iOS and other Darwin-like operating systems.

Probably `darwin` would be OK. Adding a new subdirectory isn't trivial, there's a lot of places to update last I looked.

Should we tackle moving things around in a separate diff?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67567/new/

https://reviews.llvm.org/D67567





More information about the cfe-commits mailing list