[PATCH] D123589: [NFC] Fix build failure with GCC 11 in C++20 mode
Evgeny Mandrikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 12 04:51:33 PDT 2022
Godin created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Godin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This was already fixed in
https://github.com/llvm/llvm-project/commit/2ccf0b76bcaf0895e04f14e3ff53c59dd96f9f0f
but then regressed in
https://github.com/llvm/llvm-project/commit/79a1f3e7c6d338b953b4dfe8cd7cb13ba60fe4e7
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123589
Files:
llvm/lib/Passes/StandardInstrumentations.cpp
Index: llvm/lib/Passes/StandardInstrumentations.cpp
===================================================================
--- llvm/lib/Passes/StandardInstrumentations.cpp
+++ llvm/lib/Passes/StandardInstrumentations.cpp
@@ -465,7 +465,7 @@
} // namespace
-template <typename T> ChangeReporter<T>::~ChangeReporter<T>() {
+template <typename T> ChangeReporter<T>::~ChangeReporter() {
assert(BeforeStack.empty() && "Problem with Change Printer stack.");
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123589.422182.patch
Type: text/x-patch
Size: 462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220412/ef46b12e/attachment.bin>
More information about the llvm-commits
mailing list