On Wed, Sep 3, 2008 at 11:15 AM, Steve Naroff <[EMAIL PROTECTED]> wrote:
> + // For now, restrict multiple return statements in a block to have
> + // strict compatible types only.
> + QualType BlockQT = QualType(CurBlock->ReturnType, 0);
> + if (Context.getCanonicalType(BlockQT).getTypePtr()
> + != Context.getCanonicalType(RetValType).getTypePtr()) {
It would probably be a bit clearer to use getUnqualifiedType here,
rather than getTypePtr().
-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits