Anastasia marked an inline comment as done. Anastasia added inline comments.
================ Comment at: lib/Sema/SemaInit.cpp:4836 + if (T1Quals.hasAddressSpace()) { + if (!T1Quals.isAddressSpaceSupersetOf(cv1T1IgnoreAS.getQualifiers())) { + Sequence.SetFailed( ---------------- rjmccall wrote: > Isn't `cv1T1IgnoreAS.getQualifiers()` always `LangAS::Default`? Yes, this is true currently. However, we don't have an overload of `isAddressSpaceSupersetOf` that takes `LangAS` as a parameter. Are you suggesting to add it? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61318/new/ https://reviews.llvm.org/D61318 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits