http://llvm.org/bugs/show_bug.cgi?id=18233
Bug ID: 18233
Summary: [-cxx-abi microsoft] Ctors for classes with vbases
have is_most_derived as the second parameter instead
of last
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
LLVM's use of gtest exhibits this problem in convertible_fwd_ostream:
class convertible_fwd_ostream : public std::ostream {
virtual void anchor();
raw_os_ostream ros_;
public:
convertible_fwd_ostream(std::ostream& os)
: std::ostream(os.rdbuf()), ros_(*this) {}
operator raw_ostream&() { return ros_; }
};
LLVM uses the parameters this, is_most_derived, os, and MSVC uses this, os,
is_most_derived, resulting in the obvious crash.
Should be easy to fix.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs