efriedma added a comment. Filed https://github.com/llvm/llvm-project/issues/63417 . (On a related note, I also filed https://github.com/llvm/llvm-project/issues/63360 for an issue I stumbled over involving deleted copy constructors.)
> Interesting. In Clang, we basically layer the C++ rules over the C rules: if > C++ aspects of a class allow it to be passed directly transparently, then we > defer down to the C rules, which deal with HVAs, structs, and things like > that. Yes... clearly MSVC is doing something very different if they're getting results like this by accident. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D153179/new/ https://reviews.llvm.org/D153179 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits