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

2022-06-15 Thread Balázs Benics via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGf1b18a79b7f4: [analyzer][NFC] Remove dead code and modernize surroundings (authored by steakhal). Repository: rG LLVM Github Monorepo CHANGES SIN

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

2022-06-15 Thread Gabor Marton via Phabricator via cfe-commits
martong accepted this revision. martong added a comment. This revision is now accepted and ready to land. LGTM Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D127836/new/ https://reviews.llvm.org/D127836 _

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

2022-06-15 Thread Balázs Benics via Phabricator via cfe-commits
steakhal added inline comments. Comment at: clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:931-934 + // void *getTag() const { + // static int Tag = 0; + // return static_cast(&Tag); + // } martong wrote: > Why should we keep this? Accident xD Repo

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

2022-06-15 Thread Balázs Benics via Phabricator via cfe-commits
steakhal updated this revision to Diff 437120. steakhal added a comment. remove dead code from MallocChecker Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D127836/new/ https://reviews.llvm.org/D127836 Files: clang/lib/StaticAnalyzer/Checkers/Basi

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

2022-06-15 Thread Gabor Marton via Phabricator via cfe-commits
martong added inline comments. Comment at: clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:931-934 + // void *getTag() const { + // static int Tag = 0; + // return static_cast(&Tag); + // } Why should we keep this? Repository: rG LLVM Github Monor

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

2022-06-15 Thread Balázs Benics via Phabricator via cfe-commits
steakhal created this revision. steakhal added reviewers: kazu, martong, xazax.hun, gamesh411. Herald added subscribers: abrachet, manas, ASDenysPetrov, phosek, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, rnkovacs, szepet, baloghadamsoftware. Herald added a reviewer: Szelethus. Her