[llvm] [CodeGen] Fix friend declaration in SSPLayoutAnalysis (PR #77447)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 03:45:14 PST 2024
https://github.com/paperchalice created https://github.com/llvm/llvm-project/pull/77447
None
>From 8d141cb383747a8233c54b16c15c7c58e4458339 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..91d0b0d5e304bc 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 class AnalysisInfoMixin<SSPLayoutAnalysis>;
using SSPLayoutMap = SSPLayoutInfo::SSPLayoutMap;
static AnalysisKey Key;
More information about the llvm-commits
mailing list