[PATCH] D94238: [NFC] Minor cleanup for ValueHandle code.
Varun Gandhi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 20 16:28:16 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG87a89549c4b1: [NFC] Minor cleanup for ValueHandle code. (authored by varungandhi-apple).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94238/new/
https://reviews.llvm.org/D94238
Files:
llvm/include/llvm/IR/ValueHandle.h
Index: llvm/include/llvm/IR/ValueHandle.h
===================================================================
--- llvm/include/llvm/IR/ValueHandle.h
+++ llvm/include/llvm/IR/ValueHandle.h
@@ -287,7 +287,7 @@
#else
AssertingVH() : ThePtr(nullptr) {}
AssertingVH(ValueTy *P) : ThePtr(GetAsValue(P)) {}
- AssertingVH(const AssertingVH<ValueTy> &) = default;
+ AssertingVH(const AssertingVH &) = default;
#endif
operator ValueTy*() const {
@@ -442,9 +442,9 @@
/// PoisoningVH's as it moves. This is required because in non-assert mode this
/// class turns into a trivial wrapper around a pointer.
template <typename ValueTy>
-class PoisoningVH
+class PoisoningVH final
#if LLVM_ENABLE_ABI_BREAKING_CHECKS
- final : public CallbackVH
+ : public CallbackVH
#endif
{
friend struct DenseMapInfo<PoisoningVH<ValueTy>>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94238.318058.patch
Type: text/x-patch
Size: 840 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210121/b633b4f6/attachment.bin>
More information about the llvm-commits
mailing list