[PATCH] D134941: [analyzer][NFC] Add tests for D132236

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 3 05:42:23 PDT 2022


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

Thanks for the update! LGTM.



================
Comment at: clang/test/Analysis/trivial-copy-struct.cpp:57
+
+  // Dead code should be unreachable
+  clang_analyzer_warnIfReached(); // expected-warning {{REACHABLE}}
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134941



More information about the cfe-commits mailing list