[llvm] [LTO][NFC] Fix forward declaration (PR #107902)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 11:38:00 PDT 2024


https://github.com/minglotus-6 created https://github.com/llvm/llvm-project/pull/107902

Fix after https://github.com/llvm/llvm-project/pull/107792

>From eb9c16a3d9692e95fdbc5513f6b8a991605df1ba Mon Sep 17 00:00:00 2001
From: mingmingl <mingmingl at google.com>
Date: Mon, 9 Sep 2024 11:36:24 -0700
Subject: [PATCH] fix forward declaration

---
 llvm/include/llvm/LTO/LTO.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/include/llvm/LTO/LTO.h b/llvm/include/llvm/LTO/LTO.h
index 119f872b26c4ff..fc6e93606de122 100644
--- a/llvm/include/llvm/LTO/LTO.h
+++ b/llvm/include/llvm/LTO/LTO.h
@@ -112,7 +112,7 @@ class ThinBackendProc;
 /// information that an LTO client should need in order to do symbol resolution.
 class InputFile {
 public:
-  class Symbol;
+  struct Symbol;
 
 private:
   // FIXME: Remove LTO class friendship once we have bitcode symbol tables.



More information about the llvm-commits mailing list