Committed as r179680, thanks! Please go ahead and close the PR.

        - Doug

On Apr 16, 2013, at 8:46 PM, Alexander Zinenko <[email protected]> wrote:

> Hello Doug!
> 
> Thanks for the review!
> Everything mentioned is fixed. Please find the updated patch attached.
> 
> 
> On 16 April 2013 19:41, Douglas Gregor <[email protected]> wrote:
> 
> On Mar 7, 2013, at 8:39 PM, Alexander Zinenko <[email protected]> wrote:
> 
>> Ping?
> 
> +bool Sema::SameTypesOrCompatibleFunctions(QualType Param,
> +                                          QualType Arg) {
> 
> We're starting function names with a lowercase letter now. How about calling 
> this isSameOrCompatibleFunctionType?
> 
> +  if (!ParamFunction || !ArgFunction)
> +    return Param == Arg;
> 
> Please change the parameters to CanQualTypes, because these == operations 
> only work because we know we're getting canonical types, and that's not clear 
> from the interface.
> 
> +  if (IsNoReturnConversion(Param, Arg, AdjustedParam))
> +    return Arg == AdjustedParam;
> 
> You'll probably need to recanonicalize AdjustedParam here.
> 
> +  // TODO(ftynse): Compatible calling conventions.
> +  
> Usually we just write "FIXME: what we need to fix"
> 
> Otherwise, this patch looks great!
> 
>       - Doug
> 
> 
> <PR15291.patch>

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to