[PATCH] D82904: [clang-tidy] Warn pointer captured in async block

Ellis Hoag via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 16:50:56 PDT 2020


ellis marked an inline comment as done.
ellis added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp:125
+    CheckFactories.registerCheck<NoEscapeCheck>(
+        "bugprone-no-escape");
     CheckFactories.registerCheck<NotNullTerminatedResultCheck>(
----------------
Not sure if we want to lint this line because it was generated by `clang-tidy/add_new_check.py` and every other `registerCheck` line is formatted in the same way.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82904





More information about the cfe-commits mailing list