Re: Question about FunctionDecl::isVariadic()

2015-10-02 Thread Aaron Ballman via cfe-commits
On Fri, Oct 2, 2015 at 5:22 PM, mats petersson wrote: > > > On 2 October 2015 at 22:07, Aaron Ballman wrote: >> >> On Fri, Oct 2, 2015 at 4:01 PM, mats petersson >> wrote: >> > Since "varargs" often involve some kind of special passing mechanisms >> > [I've >> > seen implementations that build d

Re: Question about FunctionDecl::isVariadic()

2015-10-02 Thread mats petersson via cfe-commits
On 2 October 2015 at 22:07, Aaron Ballman wrote: > On Fri, Oct 2, 2015 at 4:01 PM, mats petersson > wrote: > > Since "varargs" often involve some kind of special passing mechanisms > [I've > > seen implementations that build data block and pass a pointer to that, > > rather than passing on the s

Re: Question about FunctionDecl::isVariadic()

2015-10-02 Thread Aaron Ballman via cfe-commits
On Fri, Oct 2, 2015 at 4:01 PM, mats petersson wrote: > Since "varargs" often involve some kind of special passing mechanisms [I've > seen implementations that build data block and pass a pointer to that, > rather than passing on the stack, for example], or additional code in the > recipient funct

Re: Question about FunctionDecl::isVariadic()

2015-10-02 Thread mats petersson via cfe-commits
Since "varargs" often involve some kind of special passing mechanisms [I've seen implementations that build data block and pass a pointer to that, rather than passing on the stack, for example], or additional code in the recipient function, I would say that `f2()` does not mean `f2(...)`. -- Mats