On 03/19/2013 07:50 AM, Rafael Espíndola wrote:
So, about the testcase. It is the one in llvm.org/pr15538 that needs
reducing, right? If that is so I am more than happy to help you reduce
it and create a testcase we can add to clang.
It reduces to:
struct B {
B();
};
B::B() {
}
The problem is that you are being passed an alias because of
-mconstructor-aliases. Since aliases don't have attributes, the
correct fix is probably to not call SetTargetAttributes since there is
nothing for it to set attributes on.
Cheers,
Rafael
Okay. thanks for the help.
I will take care of this today.
Reed
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits