[llvm] c2af9af - [SandboxIR][NFC] Remove some unnecessary friend declarations
Vasileios Porpodas via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 27 15:53:18 PDT 2024
Author: Vasileios Porpodas
Date: 2024-09-27T15:52:31-07:00
New Revision: c2af9af73d56d0ae89cc26d0064b7657a30359a7
URL: https://github.com/llvm/llvm-project/commit/c2af9af73d56d0ae89cc26d0064b7657a30359a7
DIFF: https://github.com/llvm/llvm-project/commit/c2af9af73d56d0ae89cc26d0064b7657a30359a7.diff
LOG: [SandboxIR][NFC] Remove some unnecessary friend declarations
Added:
Modified:
llvm/include/llvm/SandboxIR/Context.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/SandboxIR/Context.h b/llvm/include/llvm/SandboxIR/Context.h
index 37f52d74209cb3..acfffd9ccd4a79 100644
--- a/llvm/include/llvm/SandboxIR/Context.h
+++ b/llvm/include/llvm/SandboxIR/Context.h
@@ -25,12 +25,9 @@ class Context {
LLVMContext &LLVMCtx;
friend class Type; // For LLVMCtx.
friend class PointerType; // For LLVMCtx.
- friend class CmpInst; // For LLVMCtx. TODO: cleanup when sandboxir::VectorType
- // is complete
- friend class IntegerType; // For LLVMCtx.
- friend class StructType; // For LLVMCtx.
- friend class ::llvm::TargetExtType; // For LLVMCtx.
- friend class Region; // For LLVMCtx.
+ friend class IntegerType; // For LLVMCtx.
+ friend class StructType; // For LLVMCtx.
+ friend class Region; // For LLVMCtx.
Tracker IRTracker;
More information about the llvm-commits
mailing list