aboutsummaryrefslogtreecommitdiff
path: root/test/Index/annotate-comments.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2012-08-01 05:04:58 +0000
committerJohn McCall <rjmccall@apple.com>2012-08-01 05:04:58 +0000
commit7916c997127fe616ba255ba4cade10e5de0c8812 (patch)
treeb9902ef7a158f83edde6767cd329eecd999a8dbe /test/Index/annotate-comments.cpp
parentf0d151c485bec560e73c74e816cd969e0c485c71 (diff)
When devirtualizing the conversion to a virtual base subobject,
don't explode if the offset we get is zero. This can happen if you have an empty virtual base class. While I'm at it, remove an unnecessary block from the IR-generation of the null-check, mark the eventual GEP as inbounds, and generally prettify. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/annotate-comments.cpp')
0 files changed, 0 insertions, 0 deletions