From b8188f5ec4da117230414c90f50434489e307e4e Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Wed, 31 Oct 2018 22:16:29 -0300 Subject: [PATCH] Remove Op prefix for Name --- include/sirit/sirit.h | 2 +- src/insts/debug.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h index 272362c..fe22c4e 100644 --- a/include/sirit/sirit.h +++ b/include/sirit/sirit.h @@ -192,7 +192,7 @@ class Module { /// Assign a name string to a reference. /// @return target - Ref OpName(Ref target, const std::string& name); + Ref Name(Ref target, const std::string& name); // Memory diff --git a/src/insts/debug.cpp b/src/insts/debug.cpp index 26b1f2a..3822dcc 100644 --- a/src/insts/debug.cpp +++ b/src/insts/debug.cpp @@ -9,7 +9,7 @@ namespace Sirit { -Ref Module::OpName(Ref target, const std::string& name) { +Ref Module::Name(Ref target, const std::string& name) { auto op{new Op(spv::Op::OpName)}; op->Add(target); op->Add(name);