[PATCH] D106431: [clang-tidy] Fix cppcoreguidelines-init-variables with enum judgement

gehry via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 22 06:03:16 PDT 2021


Sockke added a comment.

At present, Our views on preventing UB are basically the same, so a warning still needs to be reported (BTW, the original version will not report warnings for enum class types). The final question is what is the recommended value for initialization and whether to provide the automatic fix.  Hope you can give us a direction, thanks!@aaron.ballman


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106431



More information about the cfe-commits mailing list