[PATCH] D39064: implement __has_unique_object_representations

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 24 12:45:42 PDT 2017

rnk added inline comments.

Comment at: lib/AST/Type.cpp:2212-2213
+    for (const auto Base : ClassDecl->bases()) {
+      if (Base.isVirtual())
+        return false;
OK, I guess vbases don't have a unique representation. :) What about vtable slots? Should we check isDynamic?


More information about the cfe-commits mailing list