[PATCH] D154285: [clang] Deprecate CGBuilderTy::CreateElementBitCast

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 1 11:35:53 PDT 2023


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: clang/lib/CodeGen/CGBuilder.h:158
 
   /// This method is to be deprecated. Use `Address::withElementType` instead.
+  [[deprecated("Use `Address::withElementType` instead.")]]
----------------
JOE1994 wrote:
> 
This is a private method, so simply delete it instead of deprecating.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154285



More information about the cfe-commits mailing list