[PATCH] D109862: Don't diagnose unused but set when the Cleanup attribute is used.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 16 04:10:10 PDT 2021


aaron.ballman added a reviewer: aaron.ballman.
aaron.ballman added a comment.

I think this is reasonable, but it's missing test coverage. Can you add some tests to `clang/test/Sema` to demonstrate that we purposefully do not issue a diagnostic when the cleanup attribute is used?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109862



More information about the cfe-commits mailing list