Committed in clang revision 149664. Chad
On Feb 1, 2012, at 4:10 PM, Aaron Ballman <[email protected]> wrote: > On Wed, Jan 25, 2012 at 3:41 PM, Eli Friedman <[email protected]> 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 > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
