[PATCH] D132461: [clang-tidy] Add cppcoreguidelines-avoid-do-while check

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 25 06:23:02 PDT 2022


njames93 added a comment.

The AllowWhileFlase option seems the wrong way to go about silencing do while(false) macros. Would it not make more sense to just ignore macros, or if you want more specificty don't warn on macros with a false condition?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132461



More information about the cfe-commits mailing list