[cfe-commits] r138239 - in /cfe/trunk: lib/AST/ExprConstant.cpp test/SemaCXX/references.cpp

Chandler Carruth chandlerc at gmail.com
Mon Aug 22 15:59:07 PDT 2011


On Mon, Aug 22, 2011 at 3:40 PM, Eli Friedman <eli.friedman at gmail.com>wrote:

> Well, I definitely agree this is braindead; actually, it's a bit too
> braindead.  Take the following:
>
> extern int& x;
> int& y = x;
> int& x = y;
>
> We probably want to do this the same way we do other kinds of
> recursion into decl's for expr evaluation; see setEvaluatedValue etc.
>

Yea, I'm going to work on a proper solution soon, but only had time to stem
the bleeding we hit in our code...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110822/c3425a27/attachment.html>


More information about the cfe-commits mailing list