[PATCH] D76229: [clang-tidy] Added PlacementNewStorageCheck

Karasev Nikita via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 16 14:46:31 PDT 2020


f00kat added a comment.

In D76229#1925268 <https://reviews.llvm.org/D76229#1925268>, @aaron.ballman wrote:

> Have you considered making this a static analyzer check as opposed to a clang-tidy check? I think using dataflow analysis will really reduce the false positives because it will be able to track the allocation and alignment data across control flow.


I have never try to write static analyzer before. Okay, I will look at examples of how to work with dataflow.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76229





More information about the cfe-commits mailing list