r200082 - Rename getResultType() on function and method declarations to getReturnType()
Alp Toker
alp at nuanti.com
Sat Jan 25 15:57:41 PST 2014
On 25/01/2014 17:55, Dmitri Gribenko wrote:
> () On Sat, Jan 25, 2014 at 6:55 PM, Alp Toker <alp at nuanti.com> 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?
Yep, r200105
Alp.
--
http://www.nuanti.com
the browser experts
More information about the cfe-commits
mailing list