[PATCH] [Sema] Re-land "Make FunctionType's TSI use unadjusted argument types"
eli.friedman at gmail.com
Tue Jun 11 15:24:42 PDT 2013
On Tue, Jun 11, 2013 at 3:09 PM, Reid Kleckner <rnk at google.com> wrote:
> For a Type held by an AST node, I completely agree, and I'll try to
> address that. For a type held by a TypeSourceInfo, I disagree, the
> FunctionProtoType should really hold the undecayed parameter types.
Hmm... I was thinking more along the lines of keeping around the un-decayed
type, but automatically decaying it for the user of the API unless they
explicitly request the un-decayed version. I'm not sure I like keeping
different versions of the type in the AST nodes vs. TypeSourceInfo.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits