rjmccall requested changes to this revision. rjmccall added a comment. This revision now requires changes to proceed.
There's no reason for this to only consider constant-sized arrays, and you should use getBaseElementTypeUnsafe() so you look through nested array types. That method is a no-op on non-array types, so you can just call it unconditionally here. Repository: rL LLVM https://reviews.llvm.org/D25937 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits