]> granicus.if.org Git - clang/commit
[MSVC] Crash fix: assigning of overloaded member function pointer caused assertion
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 10 Aug 2015 04:07:49 +0000 (04:07 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 10 Aug 2015 04:07:49 +0000 (04:07 +0000)
commit3c90733886be1d15d2bfeeafbccbfc5bdba8fc0b
tree158ea3399075076af583853f398c2bf9824d4148
parent4ae5b052483e30af0534909a0845fd891edf6235
[MSVC] Crash fix: assigning of overloaded member function pointer caused assertion

Original class was not marked with inheritance attribute and it causes a crash on codegen.
Differential Revision: http://reviews.llvm.org/D11828

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244428 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCast.cpp
test/CodeGenCXX/microsoft-abi-member-pointers.cpp