summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2021-12-14 12:17:55 +0100
committerNikita Popov <npopov@redhat.com>2021-12-14 12:17:55 +0100
commitb81450afb6529cd4d1eece46e9945caa5de51c11 (patch)
tree6857875181430bcd0bef52aa02c885901a6338cd
parentb8d121eb1d619adca637bfd926d08a095c93b117 (diff)
downloadllvm-b81450afb6529cd4d1eece46e9945caa5de51c11.tar.gz
[CodeGen] Add std:: qualifier
Hopefully addresses the buildbot failures.
-rw-r--r--clang/lib/CodeGen/Address.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/Address.h b/clang/lib/CodeGen/Address.h
index 0403a89b8ce6..2196c6bf1161 100644
--- a/clang/lib/CodeGen/Address.h
+++ b/clang/lib/CodeGen/Address.h
@@ -26,7 +26,7 @@ class Address {
CharUnits Alignment;
protected:
- Address(nullptr_t) : Pointer(nullptr) {}
+ Address(std::nullptr_t) : Pointer(nullptr) {}
public:
Address(llvm::Value *pointer, CharUnits alignment)
@@ -76,7 +76,7 @@ public:
/// A specialization of Address that requires the address to be an
/// LLVM Constant.
class ConstantAddress : public Address {
- ConstantAddress(nullptr_t) : Address(nullptr) {}
+ ConstantAddress(std::nullptr_t) : Address(nullptr) {}
public:
ConstantAddress(llvm::Constant *pointer, CharUnits alignment)