[clang][ObjC] allow the use of NSAttributedString * return type with format_arg attribute
authorAlex Lorenz <arphaman@gmail.com>
Tue, 9 Mar 2021 21:18:19 +0000 (13:18 -0800)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 9 Mar 2021 21:36:57 +0000 (13:36 -0800)
commit2de0a18a8949f0235fb3a08dcc55ff3aa7d969e7
tree39d7453ddf2375f6bc9950cfe6f78ffc2ddfde7c
parentfe81e8f3b52e86ccd93d44601a65c6084c9dd5d6
[clang][ObjC] allow the use of NSAttributedString * return type with format_arg attribute

This is useful for APIs that want to produce an attributed NSString as a result of
some formatting API call.
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/SemaObjC/format-arg-attribute.m