aboutsummaryrefslogtreecommitdiff
path: root/lib/Parse/Parser.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-08-10 18:55:53 +0000
committerAnna Zaks <ganna@apple.com>2012-08-10 18:55:53 +0000
commit3f558af01643787d209a133215b0abec81b5fe30 (patch)
tree305fe3ecf8fc39d9ab0b044cd53d18e0420ea3bd /lib/Parse/Parser.cpp
parenta1fa47139d6e9e7dcc40f2809605d1a258624e7f (diff)
[analyzer] Optimize dynamic dispatch bifurcation by detecting the cases
when we don't need to split. In some cases we know that a method cannot have a different implementation in a subclass: - the class is declared in the main file (private) - all the method declarations (including the ones coming from super classes) are in the main file. This can be improved further, but might be enough for the heuristic. (When we are too aggressive splitting the state, efficiency suffers. When we fail to split the state coverage might suffer.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/Parser.cpp')
0 files changed, 0 insertions, 0 deletions