[PATCH] D106431: [clang-tidy] Fix cppcoreguidelines-init-variables by removing the enum FixIt, and add support for initialization check of scoped enum.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 29 03:57:16 PDT 2021


aaron.ballman added a comment.

In D106431#2912589 <https://reviews.llvm.org/D106431#2912589>, @Sockke wrote:

> Thank you for your reply! I generally understand what you mean, but there are three cases, namely, no diagnosis, providing diagnosis, and providing diagnosis & FixIt.  Only by judging whether "diagnosis" is null may fail to achieve the goal.  I have revised it a little bit, do you think that's alright? @aaron.ballman

By how the code looks, you made the exact changes I was hoping to see. Thank you!


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

https://reviews.llvm.org/D106431



More information about the cfe-commits mailing list