[PATCH] D22929: [CodeGen][ObjC] Fix infinite recursion in getObjCEncodingForTypeImpl

Manman Ren via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 15 16:54:28 PDT 2016


manmanren added a subscriber: manmanren.
manmanren added a comment.

The fix looks reasonable to me.

Cheers,
Manman


================
Comment at: test/CodeGenObjCXX/encode.mm:231
@@ +230,3 @@
+struct S {
+  typedef T Ty;
+  Ty *t;
----------------
I wonder if we can further reduce the testing case. Is this necessary to cause the infinite recursion?


https://reviews.llvm.org/D22929





More information about the cfe-commits mailing list