Move utils/ to spvtools::utils

Currently the utils/ folder uses both spvutils:: and spvtools::utils.
This CL changes the namespace to consistenly be spvtools::utils to match
the rest of the codebase.
This commit is contained in:
dan sinclair
2018-07-06 13:25:17 -04:00
committed by David Neto
parent 01870083dc
commit 73f3472351
35 changed files with 238 additions and 227 deletions
+5 -4
View File
@@ -18,11 +18,10 @@
#include "source/util/string_utils.h"
#include "spirv-tools/libspirv.h"
namespace spvtools {
namespace utils {
namespace {
using ::spvutils::CardinalToOrdinal;
using ::spvutils::ToString;
TEST(ToString, Int) {
EXPECT_EQ("0", ToString(0));
EXPECT_EQ("1000", ToString(1000));
@@ -187,4 +186,6 @@ TEST(CardinalToOrdinal, Test) {
EXPECT_EQ("1225th", CardinalToOrdinal(1225));
}
} // anonymous namespace
} // namespace
} // namespace utils
} // namespace spvtools