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

Chris Lattner clattner at apple.com
Fri Aug 8 10:37:00 PDT 2008


On Aug 8, 2008, at 9:50 AM, Argiris Kirtzidis wrote:

> 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!

No problem Argiris!

-Chris



More information about the cfe-commits mailing list