rjmccall added inline comments.

Comment at: lib/Sema/SemaDeclCXX.cpp:5742
+// effect of performing a trivial copy of the type.
+bool Sema::CanPassInRegisters(CXXRecordDecl *D) {
+  if (D->isDependentType())
This should probably be called something like "computeCanPassInRegisters" to 
discourage other code from calling it directly.

It should also just be a static function in this file unless it needs to be a 
member for some access-control reason.


cfe-commits mailing list

Reply via email to