On Oct 8, 2009, at 6:34 PM, John McCall wrote: > Fariborz Jahanian wrote: >> Modified: cfe/trunk/lib/Sema/SemaOverload.cpp >> URL: >> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=83603&r1=83602&r2=83603&view=diff >> >> >> > > This shouldn't be too hard to make extqual-safe. Neither the base > pointer nor the member pointer can be ObjC-GC-qualified, and TR18037 > says that the address space of a member is the the address space of > the base. The qualifiers in CV2 are even already incorporated in T, > so it really just comes down to: > > const Type *C1; > QualifierCollector Q1; > if (...) { > C1 = Q1.strip(PointerTy->getPointeeType()); > ... > } > ... > T = Q1.apply(T);
Applied in http://llvm.org/viewvc/llvm-project?view=rev&revision=83648 - Thanks, Fariborz > > > John. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
