[PATCH] D52957: [analyzer] Teach CallEvent about C++17 aligned new.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 5 19:50:37 PST 2020


NoQ added a comment.

Everything looks good to me here. The new-expression `new int;` has 1 implicit argument (allocation size passed to the implementation of operator new, the value is probably 4) and 0 placement arguments (the ones that are explicitly written down after `new` and before `int`). See also https://en.cppreference.com/w/cpp/language/new#Placement_new.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D52957



More information about the cfe-commits mailing list