[PATCH] D30896: [Clang-tidy] add check misc-prefer-switch-for-enums

Jonathan B Coe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 15 07:25:10 PDT 2017


jbcoe added a comment.

I've run the check on clang. It's noisy (690 warnings). The (few) cases I've manually inspected look like firm candidates for replacing with switches. Not my call though.

F3145418: reduced-clang-tidy-switch-checks <https://reviews.llvm.org/F3145418>

I'm going to look at quantlib next as that's a domain of interest to me.


Repository:
  rL LLVM

https://reviews.llvm.org/D30896





More information about the cfe-commits mailing list