commit | c36b30c92c78b95fd29fb5d9d6214d737b3bcb02 | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Thu Jul 12 00:16:25 2012 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Thu Jul 12 00:16:25 2012 +0000 |
tree | 715c5369b56b6b363095e1029133c079668fc9df | |
parent | 198871cc90375246d8692680467ff6e810edac36 [diff] |
[analyzer] Don't inline virtual calls unless we can devirtualize properly. Previously we were using the static type of the base object to inline methods, whether virtual or non-virtual. Now, we try to see if the base object has a known type, and if so ask for its implementation of the method. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160094 91177308-0d34-0410-b5e6-96231b3b80d8