aboutsummaryrefslogtreecommitdiff
path: root/test/opt/instruction_test.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2017-11-27 10:16:41 -0500
committerDiego Novillo <dnovillo@google.com>2017-11-27 14:31:49 -0500
commit83228137e16c0d7fe33eaceddf6f67115d45338f (patch)
treea1e2082ec253fe61242c8eeea91943e00a7270d2 /test/opt/instruction_test.cpp
parentd8b2013ecfd6603855752452bb3a280a7b515d2c (diff)
downloadspirv-tools-83228137e16c0d7fe33eaceddf6f67115d45338f.tar.gz
Re-format source tree - NFC.
Re-formatted the source tree with the command: $ /usr/bin/clang-format -style=file -i \ $(find include source tools test utils -name '*.cpp' -or -name '*.h') This required a fix to source/val/decoration.h. It was not including spirv.h, which broke builds when the #include headers were re-ordered by clang-format.
Diffstat (limited to 'test/opt/instruction_test.cpp')
-rw-r--r--test/opt/instruction_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/opt/instruction_test.cpp b/test/opt/instruction_test.cpp
index 7adb4427..ae4f3a56 100644
--- a/test/opt/instruction_test.cpp
+++ b/test/opt/instruction_test.cpp
@@ -17,18 +17,18 @@
#include "gmock/gmock.h"
-#include "spirv-tools/libspirv.h"
-#include "unit_spirv.h"
#include "pass_fixture.h"
#include "pass_utils.h"
+#include "spirv-tools/libspirv.h"
+#include "unit_spirv.h"
namespace {
using namespace spvtools;
-using spvtest::MakeInstruction;
using ir::Instruction;
using ir::IRContext;
using ir::Operand;
+using spvtest::MakeInstruction;
using ::testing::Eq;
using DescriptorTypeTest = PassTest<::testing::Test>;