[llvm] [SandboxIR] More boilerplate: Function, Argument, Constant, Instruction, OpaqueInst (PR #97343)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 13:33:24 PDT 2024


================
@@ -59,8 +59,95 @@ void sandboxir::Value::printAsOperandCommon(raw_ostream &OS) const {
     OS << "NULL ";
 }
 
+void sandboxir::Argument::printAsOperand(raw_ostream &OS) const {
----------------
tschuett wrote:

Do you need to prefix everything with `sandboxir::`? I hoped the `using namespace sandboxir;` was sufficient.

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


More information about the llvm-commits mailing list