[PATCH] D97142: [clang-tidy] Simplify unused RAII check

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 28 17:13:06 PST 2021


njames93 accepted this revision.
njames93 added a comment.
This revision is now accepted and ready to land.

LG, with 1 nit.



================
Comment at: clang-tools-extra/test/clang-tidy/checkers/bugprone-unused-raii.cpp:81-82
+
+  int i = 0;
+  (void)i;
+}
----------------
Is this necessary?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97142



More information about the cfe-commits mailing list