Special case ObjCPropertyDecl for printing
authorDavid Goldman <dallasftball@gmail.com>
Thu, 4 Apr 2019 20:13:22 +0000 (20:13 +0000)
committerDavid Goldman <dallasftball@gmail.com>
Thu, 4 Apr 2019 20:13:22 +0000 (20:13 +0000)
commit19d21854e92ed3acdeee17a6c2dd106f9e9dd058
tree777c450c969afdf33dbe0c8bd839cd36c637df48
parente028de43cd5fcad19736cd9b3352ef8530419ba9
Special case ObjCPropertyDecl for printing

ObjCPropertyDecl should use the category interface as a context similar to what is done for methods.

Previously category methods would be printed as `::property`; now they are printed as `Class::property`.

llvm-svn: 357720
clang/lib/AST/Decl.cpp
clang/unittests/AST/NamedDeclPrinterTest.cpp