On 25/01/2014 17:55, Dmitri Gribenko wrote:
() 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?


Yep, r200105

Alp.


--
http://www.nuanti.com
the browser experts

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

Reply via email to