From 87a89549c4b14a5e19097484562dd359b77a8770 Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Thu, 7 Jan 2021 08:50:31 -0800 Subject: [PATCH] [NFC] Minor cleanup for ValueHandle code. Based on feedback in https://reviews.llvm.org/D93433. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D94238 --- llvm/include/llvm/IR/ValueHandle.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/IR/ValueHandle.h b/llvm/include/llvm/IR/ValueHandle.h index a88b28a..2956081 100644 --- a/llvm/include/llvm/IR/ValueHandle.h +++ b/llvm/include/llvm/IR/ValueHandle.h @@ -287,7 +287,7 @@ public: #else AssertingVH() : ThePtr(nullptr) {} AssertingVH(ValueTy *P) : ThePtr(GetAsValue(P)) {} - AssertingVH(const AssertingVH &) = default; + AssertingVH(const AssertingVH &) = default; #endif operator ValueTy*() const { @@ -442,9 +442,9 @@ public: /// PoisoningVH's as it moves. This is required because in non-assert mode this /// class turns into a trivial wrapper around a pointer. template -class PoisoningVH +class PoisoningVH final #if LLVM_ENABLE_ABI_BREAKING_CHECKS - final : public CallbackVH + : public CallbackVH #endif { friend struct DenseMapInfo>; -- 2.7.4