clang-tools 22.0.0git
|
Finds cnd_wait, cnd_timedwait, wait, wait_for, or / wait_until function calls when the function is not invoked from a loop that checks whether a condition predicate holds or the function has a condition parameter. More...
#include <SpuriouslyWakeUpFunctionsCheck.h>
Public Member Functions | |
SpuriouslyWakeUpFunctionsCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Finds cnd_wait, cnd_timedwait, wait, wait_for, or / wait_until function calls when the function is not invoked from a loop that checks whether a condition predicate holds or the function has a condition parameter.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/spuriously-wake-up-functions.html
Definition at line 23 of file SpuriouslyWakeUpFunctionsCheck.h.
|
inline |
Definition at line 25 of file SpuriouslyWakeUpFunctionsCheck.h.
|
override |
Definition at line 77 of file SpuriouslyWakeUpFunctionsCheck.cpp.
|
override |
Definition at line 17 of file SpuriouslyWakeUpFunctionsCheck.cpp.