Hi This patch adds support for direct constructor calls in -fms-extensions mode. Why? Because msvc supports it!
I found clang couldn't parse such kind of code found in msvc header files:
class CtorCall {
public:
CtorCall& CtorCall::operator=(const CtorCall& that)
{
if (this != &that) {
this->CtorCall::~CtorCall();
this->CtorCall::CtorCall(that); // <=== direct ctor call, clang
error.
}
return *this;
};
direct-ctor-call.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
