]> granicus.if.org Git - clang/commit
Emit the function type of member function pointer types the same as member functions.
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 19 Jan 2013 19:20:56 +0000 (19:20 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 19 Jan 2013 19:20:56 +0000 (19:20 +0000)
commite8d7514d6adc149126d5cd47df95600389f0cb70
tree2ff18967ae1649502b436b46741a1d999d5cd8d2
parente38c339ca4059b03c6a6ac97d062c9187eb30a0f
Emit the function type of member function pointer types the same as member functions.

Adding the pseudo first parameter to a member function pointer's function type
and mark it as artificial.

Combined with a fix to GDB ( http://sourceware.org/bugzilla/show_bug.cgi?id=14998 )
this fixes gdb.cp/member-ptr.exp with Clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172911 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGenCXX/debug-info-method.cpp