From 5b656b689820b3fd08162e59910090c1c0edf01e Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Mon, 21 Oct 2024 19:03:01 +0100 Subject: [PATCH] !fixup use std::unique_ptr for MangleContext. --- clang/lib/CodeGen/CodeGenTBAA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/CodeGen/CodeGenTBAA.h b/clang/lib/CodeGen/CodeGenTBAA.h index c1319912eadbd0..ab3b05df7713ba 100644 --- a/clang/lib/CodeGen/CodeGenTBAA.h +++ b/clang/lib/CodeGen/CodeGenTBAA.h @@ -120,7 +120,7 @@ class CodeGenTBAA { llvm::Module &Module; const CodeGenOptions &CodeGenOpts; const LangOptions &Features; - MangleContext *MangleCtx; + std::unique_ptr MangleCtx; // MDHelper - Helper for creating metadata. llvm::MDBuilder MDHelper;