[llvm] 62b30e7 - [CodeGen] Fix friend declaration in SSPLayoutAnalysis (#77447)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jan  9 03:47:45 PST 2024
    
    
  
Author: paperchalice
Date: 2024-01-09T19:47:42+08:00
New Revision: 62b30e7948d1278900585518523794f9286fa5c9
URL: https://github.com/llvm/llvm-project/commit/62b30e7948d1278900585518523794f9286fa5c9
DIFF: https://github.com/llvm/llvm-project/commit/62b30e7948d1278900585518523794f9286fa5c9.diff
LOG: [CodeGen] Fix friend declaration in SSPLayoutAnalysis (#77447)
Added: 
    
Modified: 
    llvm/include/llvm/CodeGen/StackProtector.h
Removed: 
    
################################################################################
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