[PATCH] D98741: [analyzer] Introduce common bug category "Unused code".

Csaba Dabis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 16 13:49:41 PDT 2021


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

Great idea!



================
Comment at: clang/test/Analysis/Inputs/expected-plists/edges-new.mm.plist:11413
-   <key>category</key><string>Dead store</string>
+   <key>category</key><string>Unused code</string>
    <key>type</key><string>Dead initialization</string>
    <key>check_name</key><string>deadcode.DeadStores</string>
----------------
"Initialization was never used"? (Swift style: https://swift.godbolt.org/z/c17EMb)


Repository:
  rC Clang

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

https://reviews.llvm.org/D98741



More information about the cfe-commits mailing list