[PATCH] D54262: [clang-tidy] Add `delete this` bugprone check (PR38741)
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 8 10:24:14 PST 2018
Eugene.Zelenko added a comment.
Please mention this check in docs/ReleaseNotes.rst (in alphabetical order).
Comment at: docs/clang-tidy/checks/bugprone-delete-this.rst:8
+Said statement generates multiple problems, such as enforcing allocating the object via ``new``, or not allowing any
+usage of instance members (neither fields nor methods) after the execution of it, nor touching ``this`` pointer
Please use 80 characters limit.
rCTE Clang Tools Extra
More information about the cfe-commits