phosek added inline comments.

================
Comment at: clang/lib/CodeGen/CGVTables.cpp:1288-1293
+  llvm::Type *ComponentType;
+  if (UseRelativeLayout(*this))
+    ComponentType = Int32Ty;
+  else
+    ComponentType = Int8PtrTy;
+  CharUnits ComponentWidth = GetTargetTypeStoreSize(ComponentType);
----------------
Could we use `getVTableComponentType` method here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134687/new/

https://reviews.llvm.org/D134687

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to