[PATCH] D43120: [clang-tidy] New checker for exceptions that are created but not thrown

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 9 10:08:42 PST 2018


Eugene.Zelenko added inline comments.


================
Comment at: docs/clang-tidy/checks/misc-throw-keyword-missing.rst:6
+
+This check warns about the potentially missing `throw` keyword. If a temporary object is created,
+but the object's type derives from (or the same as) a class that has 'EXCEPTION', 'Exception' or
----------------
aaron.ballman wrote:
> about the potentially -> about a potentially
Please remove //This check// and enclose throw in ``


https://reviews.llvm.org/D43120





More information about the cfe-commits mailing list