diff options
author | dan sinclair <dj2@everburning.com> | 2018-07-07 09:38:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-07 09:38:00 -0400 |
commit | 3dad1cda1168b56e5326305b395c25afa06feff2 (patch) | |
tree | 5b51a44170f0a4a1992de292ed5afea9b4bb4a3b /source/val/instruction.cpp | |
parent | 76e0bde19633fc8c45f7de52029e3d517b2e1561 (diff) |
Change libspirv to spvtools namespace (#1678)
This CL changes all of the libspirv namespace code to spvtools to match
the rest of the code base.
Diffstat (limited to 'source/val/instruction.cpp')
-rw-r--r-- | source/val/instruction.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/val/instruction.cpp b/source/val/instruction.cpp index cbea01e5..f0e6e3b9 100644 --- a/source/val/instruction.cpp +++ b/source/val/instruction.cpp @@ -18,7 +18,8 @@ using std::make_pair; -namespace libspirv { +namespace spvtools { + #define OPERATOR(OP) \ bool operator OP(const Instruction& lhs, const Instruction& rhs) { \ return lhs.id() OP rhs.id(); \ @@ -47,4 +48,5 @@ Instruction::Instruction(const spv_parsed_instruction_t* inst, void Instruction::RegisterUse(const Instruction* inst, uint32_t index) { uses_.push_back(make_pair(inst, index)); } -} // namespace libspirv + +} // namespace spvtools |