[PATCH] D115630: [CodeGen] Require use of Address::invalid() for invalid address

Bing Yu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 14 04:27:58 PST 2021


yubing added inline comments.


================
Comment at: clang/lib/CodeGen/Address.h:79
 class ConstantAddress : public Address {
+  ConstantAddress(nullptr_t) : Address(nullptr) {}
+
----------------
Has anyone encountered buildfail due to missing "std" before nullptr_t?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115630



More information about the cfe-commits mailing list