[PATCH] D127836: [analyzer][NFC] Remove dead code and modernize surroundings

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 04:34:46 PDT 2022


martong added inline comments.


================
Comment at: clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:931-934
+  // void *getTag() const {
+  //   static int Tag = 0;
+  //   return static_cast<void *>(&Tag);
+  // }
----------------
Why should we keep this?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127836



More information about the cfe-commits mailing list