() On Sat, Jan 25, 2014 at 6:55 PM, Alp Toker <[email protected]> wrote:
> Author: alp
> Date: Sat Jan 25 10:55:45 2014
> New Revision: 200082
>
> URL: http://llvm.org/viewvc/llvm-project?rev=200082&view=rev
> Log:
> Rename getResultType() on function and method declarations to getReturnType()
>
> A return type is the declared or deduced part of the function type specified 
> in
> the declaration.
>
> A result type is the (potentially adjusted) type of the value of an expression
> that calls the function.
>
> Rule of thumb:
>
>   * Declarations have return types and parameters.
>   * Expressions have result types and arguments.

Hi Alp,

Should FunctionTypeLoc::getResultLoc() be renamed as well?

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to