HomePhabricator

[analyzer] Improve PlacementNewChecker

Authored by martong on May 14 2020, 6:49 AM.

Description

[analyzer] Improve PlacementNewChecker

Summary:

  1. Added insufficient storage check for arrays
  2. Added align support check

Based on https://reviews.llvm.org/D76229

Reviewers: aaron.ballman, lebedev.ri, NoQ, martong

Reviewed By: martong

Subscribers: xazax.hun, baloghadamsoftware, szepet, rnkovacs, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, ASDenysPetrov, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76996

Patch by Karasev Nikita!

Details

Committed
martongMay 14 2020, 6:50 AM
Reviewer
martong
Differential Revision
D76996: [analyzer] Improve PlacementNewChecker
Parents
rG5f3f45dc5338: [Hexagon] Check isInstr() before getInstr() with SUnit
Branches
Unknown
Tags
Unknown