[PATCH] D115630: [CodeGen] Require use of Address::invalid() for invalid address
Nikita Popov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 14 05:05:18 PST 2021
nikic added inline comments.
================
Comment at: clang/lib/CodeGen/Address.h:79
class ConstantAddress : public Address {
+ ConstantAddress(nullptr_t) : Address(nullptr) {}
+
----------------
yubing wrote:
> Has anyone encountered buildfail due to missing "std" before nullptr_t?
Yeah, this broke a lot of buildbots and should be fixed by https://github.com/llvm/llvm-project/commit/b81450afb6529cd4d1eece46e9945caa5de51c11. Please tell me if you still see a build failure.
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