commit | 9581ed07dee5376002620a0cfb363c6b9e5bdd3e | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sun Aug 25 22:46:27 2013 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sun Aug 25 22:46:27 2013 +0000 |
tree | c857394e65c42b3fdd7926f9bc31461f0049d4ae | |
parent | 5db8b3138f36e11bca835881e81cc56bbd7b4fa4 [diff] |
CodeGen: Unify two implementations of canDevirtualizeMemberFunctionCall. They were mostly copy&paste of each other, move it to CodeGenFunction. Of course the two implementations have diverged over time; the one in CGExprCXX seems to be the more modern one so I picked that one and moved it to CGClass which feels like a better home for it. No intended functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189203 91177308-0d34-0410-b5e6-96231b3b80d8