[PATCH] D47299: [CodeGenCXX] Emit strip.invariant.group with -fstrict-vtable-pointers

Piotr Padlewski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 15 15:38:50 PDT 2018


Prazek marked an inline comment as done.
Prazek added inline comments.


================
Comment at: clang/lib/CodeGen/CGExprScalar.cpp:1624
+          E->getType().getTypePtr()->getPointeeCXXRecordDecl();
+      const CXXRecordDecl *DstClassDecl = DestTy->getPointeeCXXRecordDecl();
+
----------------
rjmccall wrote:
> The opposite of `Dst` is `Src`.  Alternatively, the opposite of `Source` is `Destination` (or `Result`).  Please pick.
Not sure if it still holds (if the DestTy should be DstTy, but I haven't declared it myself)


Repository:
  rL LLVM

https://reviews.llvm.org/D47299





More information about the cfe-commits mailing list