rjmccall added a comment. Just a couple minor requests; if you accept them, feel free to commit.
================ Comment at: include/clang/AST/Decl.h:3556 + /// indirectly. This value is used only in C++. + APK_CannotPassInRegs, + ---------------- I think it's probably worth spelling out why this can happen in C++, something like: This value in required by C++ because, in uncommon situations, it is possible for a class to have only trivial copy/move constructors even when one of its subobjects has a non-trivial copy/move constructor (if e.g. the corresponding copy/move constructor in the derived class is deleted). ================ Comment at: include/clang/AST/Decl.h:3601 + /// Represents the way this type is passed to a function. + ArgPassingKind ArgPassingStyle : 2; + ---------------- I think maybe "ArgPassingRestrictions" would be better, since we don't necessarily honor this in the ABI. Repository: rC Clang https://reviews.llvm.org/D45384 _______________________________________________ cfe-commits mailing list firstname.lastname@example.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits