[PATCH] D40937: [clang-tidy] Infinite loop checker

JVApen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 6 23:19:31 PST 2017


JVApen added a comment.

How does this check deal with atomic members?

struct A {
 std:: atomic<bool> a;

void f() const { while (a); }
};


https://reviews.llvm.org/D40937





More information about the cfe-commits mailing list