[cfe-commits] r54525 - /cfe/trunk/include/clang/AST/DeclCXX.h

Argiris Kirtzidis akyrtzi at gmail.com
Fri Aug 8 09:50:50 PDT 2008


Chris Lattner wrote:
>
> On Aug 8, 2008, at 6:26 AM, Argiris Kirtzidis wrote:
>
>> Author: akirtzidis
>> Date: Fri Aug  8 08:26:45 2008
>> New Revision: 54525
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=54525&view=rev
>> Log:
>> Use static_cast<> instead of cast<> for CXXFieldDecl::getMember().
>
> Why?  cast<> does the assertion internally, implicitly.

I reverted the change here: 
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080804/006877.html
Sorry for the noise.

I was under false assumptions about the inner workings of cast<>, thanks 
for correcting me!


-Argiris



More information about the cfe-commits mailing list