[PATCH] D41797: [analyzer] Suppress escape of this-pointer during construction.

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 9 06:42:12 PST 2018


xazax.hun added a comment.

I am fine with suppressing the escape globally.
I did see some code in the wild where the constructors registered the objects with a (global) map.
But I think it is still easier to annotate code that does something unconventional than the other way around.


Repository:
  rC Clang

https://reviews.llvm.org/D41797





More information about the cfe-commits mailing list