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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Timm Baeder (tbaederr)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/154308.diff


1 Files Affected:

- (modified) clang/lib/AST/ByteCode/Program.h (-3) 


``````````diff
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.

``````````

</details>


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


More information about the cfe-commits mailing list