[llvm] [SandboxIR][NFC] Move sandboxir::Use into a separate file (PR #99074)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 11:38:11 PDT 2024


================
@@ -0,0 +1,52 @@
+#ifndef LLVM_TRANSFORMS_SANDBOXIR_USE_H
+#define LLVM_TRANSFORMS_SANDBOXIR_USE_H
+
+#include "llvm/IR/Use.h"
+#include "llvm/Support/raw_ostream.h"
+
+namespace llvm {
+namespace sandboxir {
----------------
tschuett wrote:

Maybe not. `llvm::Use` could be forward declared. IIRC `raw_ostream` can also be forward declared.

https://github.com/llvm/llvm-project/pull/99074


More information about the llvm-commits mailing list