forked from OSchip/llvm-project
parent
938f40b5aa
commit
8086dfc7d4
|
@ -943,6 +943,11 @@ void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) {
|
|||
Out << (first ? ' ' : ',') << "nonatomic";
|
||||
first = false;
|
||||
}
|
||||
if (PDecl->getPropertyAttributes() &
|
||||
ObjCPropertyDecl::OBJC_PR_atomic) {
|
||||
Out << (first ? ' ' : ',') << "atomic";
|
||||
first = false;
|
||||
}
|
||||
Out << " )";
|
||||
}
|
||||
Out << ' ' << PDecl->getType().getAsString(Policy) << ' ' << PDecl;
|
||||
|
|
Loading…
Reference in New Issue