[PATCH] D85697: [clang-tidy] Add cppcoreguidelines-prefer-scoped-enums-over-unscoped

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 10 17:16:38 PDT 2020


Eugene.Zelenko added a comment.

Please mention new check in Release Notes.



================
Comment at: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-prefer-scoped-enums-over-unscoped.rst:22
+
+After the fix is applied, the enum will become:
+
----------------
Please enclose enum in double back-ticks.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-prefer-scoped-enums-over-unscoped.rst:65
+  CREATE_ENUM(class Foo);
\ No newline at end of file

----------------
Please add newline.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85697



More information about the cfe-commits mailing list