Skip to content
Commit 96c755d1 authored by Chad Rosier's avatar Chad Rosier
Browse files

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.

Fix for PR11747. Patch by Aaron Ballman. Reviewed by Eli.

llvm-svn: 149664
parent 9bb33f57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment