[PATCH] D37308: Interface class with uuid base record

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 8 14:02:28 PDT 2017


erichkeane added a comment.

1 more thing I missed.



================
Comment at: lib/Sema/SemaDeclCXX.cpp:2389
+  return RD->isStruct() && RD->getName() == "IUnknown" && RD->isEmpty() &&
+         Uuid && Uuid->getGuid() =="00000000-0000-0000-C000-000000000046";
+}
----------------
This also has to ensure that IUnknown doesn't inherit from anyone AND that it is in the global namespace.


https://reviews.llvm.org/D37308





More information about the cfe-commits mailing list