[PATCH] D67578: [clang-tidy] New check to warn when writing to a dispatch_once_t variable.

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 13 18:47:01 PDT 2019


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/misc-dispatch-once-assignment.rst:9
+and making such direct writes may potentially violate the run-once protections
+intended by the library.
----------------
Does library documentation contain this recommendation? If so, will be good idea to add link. Same for other check.


Repository:
  rCTE Clang Tools Extra

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

https://reviews.llvm.org/D67578





More information about the cfe-commits mailing list