]> granicus.if.org Git - clang/commit
AST: adjust ObjC MS mangling to work with typedefs
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 23 Jan 2018 19:17:25 +0000 (19:17 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 23 Jan 2018 19:17:25 +0000 (19:17 +0000)
commit72ae43d52f9eb11f4f1bab64866e75c1d04213d4
treed883fe7b2e2dcc7087c4e8f727f6ec9358c8109c
parent639c532fba3e862f87c1fe66b7b638169632e233
AST: adjust ObjC MS mangling to work with typedefs

Rather than hardcode the pointerness of the `id` and `class` types,
handle them generically.  This allows for the template type
specialization of `remove_pointer<id>` which would look through the `id`
type and deal with the `objc_object` structure without the pointer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323241 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp
test/CodeGenObjCXX/msabi-objc-types.mm