aaron.ballman added inline comments.
================ Comment at: lib/Sema/SemaExpr.cpp:14251-14253 + if (const auto *Ptr = dyn_cast<PointerType>(Ty)) + Inner = Ptr->getPointeeType(); + else if (const auto *Arr = dyn_cast<ArrayType>(Ty)) ---------------- I don't think this strips off sugar from the type, so I suspect it won't properly handle a typedef to a pointer type, for instance, or a type including parens. You should add tests for these cases. Repository: rC Clang https://reviews.llvm.org/D49511 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits