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

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 05:42:11 PDT 2022


steakhal 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);
+  // }
----------------
martong wrote:
> Why should we keep this?
Accident xD


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