[PATCH] D50855: [analyzer] pr37578: Fix lvalue/rvalue problem in field-of-temporary adjustments.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 16 11:41:49 PDT 2018


NoQ added a comment.

> which is of course a bad thing to do because we should not bind `Loc`s to `prvalue` expressions

... of non-pointer type. On the other hand, binding `NonLoc`s to glvalue expressions is always a bad thing to do; but, for the reference, adding this as an assertion currently crashes 92 tests.


https://reviews.llvm.org/D50855





More information about the cfe-commits mailing list