]> granicus.if.org Git - clang/commit
If a virtual member function has the 'final' attribute, we can devirtualize calls...
authorAnders Carlsson <andersca@mac.com>
Wed, 27 Oct 2010 13:28:46 +0000 (13:28 +0000)
committerAnders Carlsson <andersca@mac.com>
Wed, 27 Oct 2010 13:28:46 +0000 (13:28 +0000)
commitbd2bfae2a6e5dc264e1f13183ad2ac11095766bb
tree0d95325b2ddf54e8b1c899f93ed83a672e2ac660
parent007a9b1c632bfaac20e41c60cbe07fdc6d0e647c
If a virtual member function has the 'final' attribute, we can devirtualize calls to it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117444 91177308-0d34-0410-b5e6-96231b3b80d8
clang.xcodeproj/project.pbxproj
lib/CodeGen/CGExprCXX.cpp
test/CodeGenCXX/attr-final-devirtualize-virtual-function-calls.cpp [new file with mode: 0644]