[PATCH] D144748: [clang-tidy] Add bugprone-empty-catch check

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 24 12:32:15 PST 2023


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/bugprone/empty-catch.rst:169
+    should be provided. If an exception type name in the list is caught in an
+    empty catch statement, no warning will be raised. Default value: `` (empty).
----------------
PiotrZSL wrote:
> Eugene.Zelenko wrote:
> > Mistake in default value formatting.
> Yy, what mistake ? (empty) not needed, or something else should be used instead of `` ?
Sorry, I mistook (empty) as part of value. May be just say this in words to avoid such confusions?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144748



More information about the cfe-commits mailing list