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 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
