[PATCH] D82904: [clang-tidy] Warn pointer captured in async block
Ellis Hoag via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 6 14:02:48 PDT 2020
ellis updated this revision to Diff 275826.
ellis marked 9 inline comments as done.
ellis added a comment.
Use `LangOpts.Blocks` instead of `LangOpts.ObjC` and add FIXME about grabbing the use location of a `CapturedVar`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82904/new/
https://reviews.llvm.org/D82904
Files:
clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
clang-tools-extra/clang-tidy/bugprone/NoEscapeCheck.cpp
clang-tools-extra/clang-tidy/bugprone/NoEscapeCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone-no-escape.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/checkers/bugprone-no-escape.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82904.275826.patch
Type: text/x-patch
Size: 9958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200706/8adaa0cb/attachment-0001.bin>
More information about the cfe-commits
mailing list