diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-02-09 03:23:54 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-02-09 03:23:54 +0000 |
commit | bbce34a8dd5ebb6478669e385a9fd1275929ac18 (patch) | |
tree | ffd4d47d6f6628b77e75909704cc1a86da60cc9e /llvm/test/BugPoint/replace-funcs-with-null.ll | |
parent | 0976cee8e9d6dbf890cb25299baac973307e2d9a (diff) | |
download | bcm5719-llvm-bbce34a8dd5ebb6478669e385a9fd1275929ac18.tar.gz bcm5719-llvm-bbce34a8dd5ebb6478669e385a9fd1275929ac18.zip |
AST: support ObjC lifetime qualifiers in MS ABI
Adjust the ObjC protocol conformance workaround to be more extensible.
Use a synthetic type for the protocol (`struct Protocol`). Embed this
within a reserved namespace to permit extending the extended pointer
type qualifiers similarly for ObjC lifetime qualifiers.
Introduce additional special handling for `__autoreleasing`, `__strong`,
and `__weak` Objective C lifetime qualifiers. We decorate these by
creating an artificial template type `Autoreleasing`, `Strong`, or
`Weak` in the `__ObjC` namespace. These are only considered in the
template type specialization and not the function parameter.
llvm-svn: 324701
Diffstat (limited to 'llvm/test/BugPoint/replace-funcs-with-null.ll')
0 files changed, 0 insertions, 0 deletions