[cfe-commits] [PATCH] Fix for reinterpret_cast (bug 11747)
Chad Rosier
mcrosier at apple.com
Thu Feb 2 19:01:31 PST 2012
Committed in clang revision 149664.
Chad
On Feb 1, 2012, at 4:10 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> On Wed, Jan 25, 2012 at 3:41 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
>> + // C++ 5.2.10p2 has a note that mentions that, subject to all other
>> + // restrictions, a cast to the same type is allowed so long as it does not
>> + // cast away constness. In C++98 The intent is not entirely clear here,
>> + // since all other paragraphs explicitly forbid casts to the same type.
>> + // In C++11 clarifies this case.
>>
>> It looks like this comment somehow got messed up in editing.
>>
>> Otherwise, looks good.
>
> Sorry about the delayed response; I missed this one hitting my inbox.
> I've attached a patch that fixes the comment up. Good catch!
>
> ~Aaron
> <reinterpret_cast.patch>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list