[PATCH] D32029: [ObjC] Fix lifetime markers of loop variable in EmitObjCForCollectionStmt

Kuba (Brecka) Mracek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 13 21:45:47 PDT 2017


kubamracek reopened this revision.
kubamracek added a comment.
This revision is now accepted and ready to land.

Reverted because this fails for-in.m by crashing the compiler when compiling:

  void t2(NSArray *array) {
    for (NSArray *array in array) { // expected-warning {{collection expression type 'NSArray *' may not respond}}
    }
  }


Repository:
  rL LLVM

https://reviews.llvm.org/D32029





More information about the cfe-commits mailing list