[PATCH] D123589: [NFC] Fix build failure with GCC 11 in C++20 mode

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 09:44:25 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG443b6ec169ba: [NFC] Fix build failure with GCC 11 in C++20 mode (authored by Godin, committed by aeubanks).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123589/new/

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.422542.patch
Type: text/x-patch
Size: 462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220413/e5c25455/attachment.bin>


More information about the llvm-commits mailing list