[cfe-dev] [LLVMdev] Microsoft constructors implementation problem.
John McCall
rjmccall at apple.com
Wed Mar 7 18:25:14 PST 2012
On Mar 5, 2012, at 12:40 AM, r4start wrote:
> I have another question.
> If ctor was called from other ctor then additional parameter must be
> equal 0 otherwise it`s equal 1.
The rule isn't "Is this constructor being called from another constructor?",
it's "Is this constructor being used to initialize a base subobject?". That's
equivalent to the Itanium ABI's concept of a constructor variant.
EmitCXXConstructorCall gets this information already.
John.
More information about the cfe-dev
mailing list