[PATCH] D150486: Initialize PunnedPointer

Breno Rodrigues Guimaraes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 13 08:16:26 PDT 2023


brenoguim added inline comments.


================
Comment at: llvm/include/llvm/ADT/PointerIntPair.h:37
 
   explicit constexpr PunnedPointer(intptr_t i = 0) { *this = i; }
 
----------------
I wonder why this constructor didn't kick in.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150486



More information about the llvm-commits mailing list