aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/ProfileData/PGOCtxProfWriter.h')
-rw-r--r--llvm/include/llvm/ProfileData/PGOCtxProfWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h b/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
index 7031728..6733e1c 100644
--- a/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
+++ b/llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
@@ -92,7 +92,7 @@ public:
PGOCtxProfileWriter(raw_ostream &Out,
std::optional<unsigned> VersionOverride = std::nullopt,
bool IncludeEmpty = false);
- ~PGOCtxProfileWriter() { Writer.ExitBlock(); }
+ ~PGOCtxProfileWriter() override { Writer.ExitBlock(); }
void startContextSection() override;
void writeContextual(const ctx_profile::ContextNode &RootNode,