[clang] b81450a - [CodeGen] Add std:: qualifier
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 14 03:18:32 PST 2021
Author: Nikita Popov
Date: 2021-12-14T12:17:55+01:00
New Revision: b81450afb6529cd4d1eece46e9945caa5de51c11
URL: https://github.com/llvm/llvm-project/commit/b81450afb6529cd4d1eece46e9945caa5de51c11
DIFF: https://github.com/llvm/llvm-project/commit/b81450afb6529cd4d1eece46e9945caa5de51c11.diff
LOG: [CodeGen] Add std:: qualifier
Hopefully addresses the buildbot failures.
Added:
Modified:
clang/lib/CodeGen/Address.h
Removed:
################################################################################
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 @@ class Address {
/// 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)
More information about the cfe-commits
mailing list