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, t
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 LLV
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb8d121eb1d61: [CodeGen] Require use of Address::invalid()
for invalid address (NFC) (authored by nikic).
Herald added a project: clang.
Herald added