[PATCH] D93940: [clang-tidy] Add a check for blocking types and functions.

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 30 16:41:02 PST 2020


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/concurrency/AsyncBlockingCheck.cpp:319
+    assert(L);
+    const auto *EV = L->ensureEvaluatedStmt();
+    if (EV && EV->Evaluated.getKind() == APValue::ValueKind::None) {
----------------
Please don't use auto when type is not explicitly spelled in same statement or iterator.


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

https://reviews.llvm.org/D93940



More information about the cfe-commits mailing list