[PATCH] D58069: [Sema] Mark GNU compound literal array init as an rvalue.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 11 15:07:59 PST 2019


NoQ added a comment.

> The analyzer test change maybe indicates we could simplify the analyzer code a little with this fix? Apparently a hack was added to support lvalues in initializers in r315750, but I'm not really familiar with the relevant code.

Nope, unfortunately, not much can be simplified. This hack is much deeper and covers many more cases than that and was added much earlier :) But thanks for attracting my attention to this!


Repository:
  rC Clang

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

https://reviews.llvm.org/D58069





More information about the cfe-commits mailing list