[PATCH] D37808: [clang-tidy] Add new hicpp-multiway-paths-covered check for missing branches

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 13 11:12:05 PDT 2017


JonasToth added a comment.

In https://reviews.llvm.org/D37808#869823, @lebedev.ri wrote:

> What about GNU extension `case 1 ... 3:` ?


Strictly speaking, the coding standard (which should be enforced by the patch) requires strict ISO C++11, therefore this extension is not considered directly.
Does clang support this extension? When this would be a warning, then that case should be added as well.


https://reviews.llvm.org/D37808





More information about the cfe-commits mailing list