Clean up ObjCPropertyDecl printing
authorDavid Goldman <dallasftball@gmail.com>
Mon, 8 Apr 2019 19:52:45 +0000 (19:52 +0000)
committerDavid Goldman <dallasftball@gmail.com>
Mon, 8 Apr 2019 19:52:45 +0000 (19:52 +0000)
commitfa8185c504e939774ca798ce74ee081d9cb934de
tree797da8d70ce1b33f0b9323ad70e2a327f4476324
parent63b97d2a67b41c80f7059401ae6ba2d1c79fa53c
Clean up ObjCPropertyDecl printing

Summary:
- `@property(attr, attr2)` instead of `@property ( attr,attr2 )`.
- Change priority of attributes (see code/comments inline).
- Support for printing weak and unsafe_unretained attributes.

Subscribers: arphaman, jfb, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D57965

llvm-svn: 357937
clang/lib/AST/DeclPrinter.cpp
clang/test/AST/ast-print-objc-property.m [new file with mode: 0644]
clang/test/Index/comment-objc-decls.m
clang/test/Index/comment-unqualified-objc-pointer.m
clang/test/PCH/chain-remap-types.m