]> granicus.if.org Git - clang/commit
Strip off parens and no-op casts when deciding if an expr can be devirtualized. Fixes...
authorAnders Carlsson <andersca@mac.com>
Sun, 10 Apr 2011 18:20:53 +0000 (18:20 +0000)
committerAnders Carlsson <andersca@mac.com>
Sun, 10 Apr 2011 18:20:53 +0000 (18:20 +0000)
commitcd0b32e73a66a20a8dab7a7f0ce963dc669f7c0a
tree0460db11e326216c85839a35be0c294452865a5e
parentb8bced0b75fa4188c91753d5a1de6d164af45450
Strip off parens and no-op casts when deciding if an expr can be devirtualized. Fixes the second half of PR9660.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129253 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprCXX.cpp
test/CodeGenCXX/devirtualize-virtual-function-calls.cpp