[llvm] 6859d95 - Fix build.
Michael Liao via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 11:52:19 PDT 2020
Author: Michael Liao
Date: 2020-09-16T14:52:00-04:00
New Revision: 6859d95ea2d0f3fe0de2923a3f642170e66a1a14
URL: https://github.com/llvm/llvm-project/commit/6859d95ea2d0f3fe0de2923a3f642170e66a1a14
DIFF: https://github.com/llvm/llvm-project/commit/6859d95ea2d0f3fe0de2923a3f642170e66a1a14.diff
LOG: Fix build.
Added:
Modified:
llvm/lib/Passes/StandardInstrumentations.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Passes/StandardInstrumentations.cpp b/llvm/lib/Passes/StandardInstrumentations.cpp
index 4755315ecfdb..e2cc19b34f3b 100644
--- a/llvm/lib/Passes/StandardInstrumentations.cpp
+++ b/llvm/lib/Passes/StandardInstrumentations.cpp
@@ -338,7 +338,6 @@ template <typename IRUnitT> ChangePrinter<IRUnitT>::~ChangePrinter<IRUnitT>() {
IRChangePrinter::IRChangePrinter() : Out(dbgs()) {}
IRChangePrinter::~IRChangePrinter() {
- ChangePrinter<std::string>::~ChangePrinter();
}
void IRChangePrinter::registerCallbacks(PassInstrumentationCallbacks &PIC) {
@@ -415,7 +414,7 @@ void IRChangePrinter::handleIgnored(StringRef PassID, std::string &Name) {
bool IRChangePrinter::same(const std::string &Before,
const std::string &After) {
return Before.compare(After) == 0;
-};
+}
PrintIRInstrumentation::~PrintIRInstrumentation() {
assert(ModuleDescStack.empty() && "ModuleDescStack is not empty at exit");
More information about the llvm-commits
mailing list