[PATCH] D29967: Get class property selectors from property decl if it exists

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 15 15:06:43 PST 2017


compnerd requested changes to this revision.
compnerd added a comment.
This revision now requires changes to proceed.

Please add a test for this.



================
Comment at: lib/Sema/SemaExprObjC.cpp:1989
+  Selector SetterSel;
+  if (ObjCPropertyDecl *PD = IFace->FindPropertyDeclaration(
+          &propertyName, ObjCPropertyQueryKind::OBJC_PR_query_class)) {
----------------
Use `auto`.


https://reviews.llvm.org/D29967





More information about the cfe-commits mailing list