[clang] [clang][bytecode][NFC] Remove unused Program::relocs (PR #154308)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 19 04:02:16 PDT 2025


https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/154308

None

>From af89aba93f9f5d8aff31a44ee7c9dbe5b81e6093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder at redhat.com>
Date: Tue, 19 Aug 2025 13:01:17 +0200
Subject: [PATCH] [clang][bytecode][NFC] Remove unused Program::relocs

---
 clang/lib/AST/ByteCode/Program.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/clang/lib/AST/ByteCode/Program.h b/clang/lib/AST/ByteCode/Program.h
index 9c4e63a14d448..90b48ee5b669b 100644
--- a/clang/lib/AST/ByteCode/Program.h
+++ b/clang/lib/AST/ByteCode/Program.h
@@ -176,9 +176,6 @@ class Program final {
   /// List of anonymous functions.
   std::vector<std::unique_ptr<Function>> AnonFuncs;
 
-  /// Function relocation locations.
-  llvm::DenseMap<const FunctionDecl *, std::vector<unsigned>> Relocs;
-
   /// Native pointers referenced by bytecode.
   std::vector<const void *> NativePointers;
   /// Cached native pointer indices.



More information about the cfe-commits mailing list