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

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 11:53:11 PDT 2024


Author: Mingming Liu
Date: 2024-09-09T11:53:07-07:00
New Revision: ab82f83dae065a9aa4716618524eddf4aad5fcf0

URL: https://github.com/llvm/llvm-project/commit/ab82f83dae065a9aa4716618524eddf4aad5fcf0
DIFF: https://github.com/llvm/llvm-project/commit/ab82f83dae065a9aa4716618524eddf4aad5fcf0.diff

LOG: [LTO][NFC] Fix forward declaration (#107902)

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

Added: 
    

Modified: 
    llvm/include/llvm/LTO/LTO.h

Removed: 
    


################################################################################
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