[PATCH] D142274: [ADT] Add llvm::byteswap to bit.h

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 22 04:41:01 PST 2023


RKSimon added inline comments.


================
Comment at: llvm/include/llvm/ADT/bit.h:24
+#if defined(_MSC_VER) && !defined(_DEBUG)
+#include <stdlib.h>  // for _byteswap_{ushort,ulong,uint64}
+#endif
----------------
<cstdlib>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142274



More information about the llvm-commits mailing list