mirror of
https://github.com/openharmony/third_party_spirv-tools.git
synced 2026-07-21 03:35:25 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user