[cfe-commits] r117445 - in /cfe/trunk: lib/CodeGen/CGExprCXX.cpp test/CodeGenCXX/attr-final-devirtualize-virtual-function-calls.cpp

Chris Lattner clattner at apple.com
Wed Oct 27 17:51:46 PDT 2010


On Oct 27, 2010, at 10:42 AM, Douglas Gregor wrote:

> 
> On Oct 27, 2010, at 10:41 AM, Chris Lattner wrote:
> 
>> 
>> On Oct 27, 2010, at 6:34 AM, Anders Carlsson wrote:
>> 
>>> Author: andersca
>>> Date: Wed Oct 27 08:34:43 2010
>>> New Revision: 117445
>>> 
>>> URL: http://llvm.org/viewvc/llvm-project?rev=117445&view=rev
>>> Log:
>>> Also devirtualize calls to a member functions where the containing class has been marked final.
>> 
>> Very cool.  Are these attributes documented in the language extensions doc?  If not, can you add them?  I think that would help discoverability.
> 
> "final" is a C++0x attribute.

__attribute__((final)) isn't.

-Chris



More information about the cfe-commits mailing list