[cfe-commits] const_cast fun

Mike Stump mrs at apple.com
Thu Aug 6 18:57:43 PDT 2009


So, I think this is a step in the right direction, but I tried  
detangling const stemming from this and had nothing but an endless  
parade of errors.  When I noticed even lowly QualType did a  
const_cast, I kinda realized const is just a vague concept in clang.

$ grep 'const_cast<' lib/*/*.cpp | wc -l
      111

:-(  So, what do others think?  Better, or worse?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: const-cast.patch
Type: application/octet-stream
Size: 5024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090806/2238c77f/attachment.obj>


More information about the cfe-commits mailing list