https://bugs.llvm.org/show_bug.cgi?id=38017

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Richard Smith <[email protected]> ---
> Is this actually correct?

Yes. In general the semantic effects of an explicit CastExpr are those
described by that CastExpr and all immediate ImplicitCastExpr descendents. This
is necessary because an explicit cast can involve multiple conversion stages.
For implementation simplicity, the outermost explicit cast node is often
modeled as CK_NoOp, but there's no guarantee of that.

This is just something you need to deal with when interpreting the AST.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to