[PATCH] D153694: [clang][CodeGen] Remove no-op EmitCastToVoidPtr (NFC)

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 24 06:29:26 PDT 2023


nikic added inline comments.


================
Comment at: clang/lib/CodeGen/ItaniumCXXABI.cpp:1473
                                                   QualType SrcRecordTy,
                                                   QualType DestTy) {
   auto *ClassDecl =
----------------
barannikov88 wrote:
> `DestTy` has become unused in both implementations. I'm not sure if I should remove it. It is always a [cv-qualified] `void *`.
> 
Removing it sounds reasonable.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153694



More information about the cfe-commits mailing list