forked from OSchip/llvm-project
![]() Summary: According to https://wiki.sei.cmu.edu/confluence/display/cplusplus/CON54-CPP.+Wrap+functions+that+can+spuriously+wake+up+in+a+loop and https://wiki.sei.cmu.edu/confluence/display/c/CON36-C.+Wrap+functions+that+can+spuriously+wake+up+in+a+loop misc-spuriously-wake-up-functions check is created. The check finds `cnd_wait` or `wait` function calls in an `IfStmt` and warns the user to replace it with a `WhileStmt` or use it with a lambda parameter. Reviewers: aaron.ballman, alexfh, hokein, jfb, Charusso Reviewed By: aaron.ballman Subscribers: sylvestre.ledru, whisperity, Eugene.Zelenko, mgorny, dexonsmith, cfe-commits, gerazo, xazax.hun, steakhal, Charusso Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D70876 |
||
---|---|---|
.. | ||
Unit | ||
clang-apply-replacements | ||
clang-change-namespace | ||
clang-doc | ||
clang-include-fixer | ||
clang-move | ||
clang-query | ||
clang-reorder-fields | ||
clang-tidy | ||
modularize | ||
pp-trace | ||
.clang-format | ||
CMakeLists.txt | ||
lit.cfg.py | ||
lit.site.cfg.py.in |