]> granicus.if.org Git - clang/commit
Honor the objc_runtime_name attribute when encoding class/protocol names.
authorDouglas Gregor <dgregor@apple.com>
Tue, 16 Jun 2015 21:04:55 +0000 (21:04 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 16 Jun 2015 21:04:55 +0000 (21:04 +0000)
commit68c71b1ebc4565100d4b7ff9ed04addf34fc3d03
tree61293cacff96f67c4567369d7d35661ed5b8e310
parentbfeebd81def5c6918c3741b67d3942ee2638fe1c
Honor the objc_runtime_name attribute when encoding class/protocol names.

While the rest of the Objective-C metadata seems to honor
objc_runtime_name, the encoding strings produced by, e.g., @encode and
property meta, were not. Fixes rdar://problem/21408305.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239852 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
test/CodeGenObjC/objc-asm-attribute-test.m