[llvm] 4007e5f - [RDA] Try to fix build, again (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 8 09:31:04 PDT 2020
Author: Nikita Popov
Date: 2020-04-08T18:30:53+02:00
New Revision: 4007e5f32e62791b21d2afe5d0dfb8bdcb310d18
URL: https://github.com/llvm/llvm-project/commit/4007e5f32e62791b21d2afe5d0dfb8bdcb310d18
DIFF: https://github.com/llvm/llvm-project/commit/4007e5f32e62791b21d2afe5d0dfb8bdcb310d18.diff
LOG: [RDA] Try to fix build, again (NFC)
Added:
Modified:
llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h b/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
index b81e58f97f69..f0f6ab0d7e1b 100644
--- a/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
+++ b/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h
@@ -43,7 +43,7 @@ class ReachingDef {
explicit ReachingDef(uintptr_t Encoded) : Encoded(Encoded) {}
public:
- ReachingDef(nullptr_t) : Encoded(0) {}
+ ReachingDef(std::nullptr_t) : Encoded(0) {}
ReachingDef(int Instr) : Encoded((Instr << 2) | 2) {}
operator int() const { return ((int) Encoded) >> 2; }
};
More information about the llvm-commits
mailing list