[PATCH] D61318: [Sema] Prevent binding references with mismatching address spaces to temporaries
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 30 16:19:25 PDT 2019
rjmccall added inline comments.
================
Comment at: lib/Sema/SemaInit.cpp:4836
+ if (T1Quals.hasAddressSpace()) {
+ if (!T1Quals.isAddressSpaceSupersetOf(cv1T1IgnoreAS.getQualifiers())) {
+ Sequence.SetFailed(
----------------
Isn't `cv1T1IgnoreAS.getQualifiers()` always `LangAS::Default`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61318/new/
https://reviews.llvm.org/D61318
More information about the cfe-commits
mailing list