[PATCH] D82824: [clang-tidy] Added option to readability-else-after-return

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 29 18:34:41 PDT 2020


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:200
+  <clang-tidy/checks/readability-else-after-return>` check now supports a 
+  ``RefactorConditionVariables`` option to control whether to refactor condition
+  variables where possible.
----------------
Please use single back-ticks for option name.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/readability-else-after-return.rst:67
+
+   When ``true``, Emit a warning for cases where the check can't output a 
+   Fix-It. These can occur with declarations inside the ``else`` branch that
----------------
Please use single back-ticks for option values. Same below.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82824





More information about the cfe-commits mailing list