[llvm] [CodeGen] Fix friend declaration in SSPLayoutAnalysis (PR #77447)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jan  9 03:46:43 PST 2024
    
    
  
https://github.com/paperchalice updated https://github.com/llvm/llvm-project/pull/77447
>From 62f4452f87ec9e19533b58e97b6012a02355f0a5 Mon Sep 17 00:00:00 2001
From: PaperChalice <liujunchang97 at outlook.com>
Date: Tue, 9 Jan 2024 19:43:54 +0800
Subject: [PATCH] [CodeGen] Fix friend declaration in SSPLayoutAnalysis
---
 llvm/include/llvm/CodeGen/StackProtector.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/include/llvm/CodeGen/StackProtector.h b/llvm/include/llvm/CodeGen/StackProtector.h
index 068990f69f2e44..eb5d9d0caebc60 100644
--- a/llvm/include/llvm/CodeGen/StackProtector.h
+++ b/llvm/include/llvm/CodeGen/StackProtector.h
@@ -66,7 +66,7 @@ class SSPLayoutInfo {
 };
 
 class SSPLayoutAnalysis : public AnalysisInfoMixin<SSPLayoutAnalysis> {
-  friend struct AnalysisInfoMixin<SSPLayoutAnalysis>;
+  friend AnalysisInfoMixin<SSPLayoutAnalysis>;
   using SSPLayoutMap = SSPLayoutInfo::SSPLayoutMap;
 
   static AnalysisKey Key;
    
    
More information about the llvm-commits
mailing list