]> granicus.if.org Git - clang/commit
Recommit r183298+r183300 'Get rid of VTableContext::ComputeMethodVTableIndices()...
authorTimur Iskhodzhanov <timurrrr@google.com>
Wed, 5 Jun 2013 14:05:50 +0000 (14:05 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Wed, 5 Jun 2013 14:05:50 +0000 (14:05 +0000)
commit2aae5ba15d07e9aa37ff9b03ad0024c0707068f5
tree43906e583c3ffab8478fe4266843407a7630ca0b
parente825cd0a910bbf3dd1ff13d34a159f96dc2ea8c8
Recommit r183298+r183300 'Get rid of VTableContext::ComputeMethodVTableIndices() and VTableContext::getNumVirtualFunctionPointers()'

In r183298, I've used llvm::SmallPtrSet<..., 8> instead of llvm::SmallVector<..., 8> for NewVirtualFunctionsTy by mistake.
This only manifested when a class had more than 8 virtual functions, which wasn't covered by unit-tests

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183310 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/VTableBuilder.h
lib/AST/VTableBuilder.cpp