[PATCH] D121993: Mark derived destructors as `override`
Antonio Frighetto via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 18 13:25:14 PDT 2022
antoniofrighetto updated this revision to Diff 416592.
antoniofrighetto edited the summary of this revision.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121993/new/
https://reviews.llvm.org/D121993
Files:
llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
llvm/include/llvm/IR/IRBuilder.h
Index: llvm/include/llvm/IR/IRBuilder.h
===================================================================
--- llvm/include/llvm/IR/IRBuilder.h
+++ llvm/include/llvm/IR/IRBuilder.h
@@ -77,7 +77,7 @@
std::function<void(Instruction *)> Callback;
public:
- virtual ~IRBuilderCallbackInserter();
+ ~IRBuilderCallbackInserter() override;
IRBuilderCallbackInserter(std::function<void(Instruction *)> Callback)
: Callback(std::move(Callback)) {}
Index: llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
===================================================================
--- llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
+++ llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
@@ -118,7 +118,7 @@
WithColor::defaultErrorHandler,
std::function<void(Error)> WarningHandler =
WithColor::defaultWarningHandler);
- ~DWARFContext();
+ ~DWARFContext() override;
DWARFContext(DWARFContext &) = delete;
DWARFContext &operator=(DWARFContext &) = delete;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121993.416592.patch
Type: text/x-patch
Size: 1023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220318/f3d08410/attachment.bin>
More information about the llvm-commits
mailing list