Ran 'git cl format' over an empty CL
Change-Id: Ied8585a4d266900925a81836db45f7525cd5f628
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/27181
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
diff --git a/src/ast/type/storage_texture_type.cc b/src/ast/type/storage_texture_type.cc
index fe5f293..a61fc01 100644
--- a/src/ast/type/storage_texture_type.cc
+++ b/src/ast/type/storage_texture_type.cc
@@ -31,7 +31,7 @@
}
#endif // NDEBUG
-
+
} // namespace
std::ostream& operator<<(std::ostream& out, StorageAccess access) {
diff --git a/src/ast/type/type.cc b/src/ast/type/type.cc
index f9b9e03..a163014 100644
--- a/src/ast/type/type.cc
+++ b/src/ast/type/type.cc
@@ -48,7 +48,7 @@
Type* Type::UnwrapAliasesIfNeeded() {
auto* where = this;
while (where->IsAlias()) {
- where = where->AsAlias()->type();
+ where = where->AsAlias()->type();
}
return where;
}
diff --git a/src/reader/spirv/function_memory_test.cc b/src/reader/spirv/function_memory_test.cc
index 662e9cb..f7c3f4e 100644
--- a/src/reader/spirv/function_memory_test.cc
+++ b/src/reader/spirv/function_memory_test.cc
@@ -752,8 +752,7 @@
S -> __struct_S)"));
}
-TEST_F(SpvParserTest,
- RemapStorageBuffer_ThroughAccessChain_NonCascaded) {
+TEST_F(SpvParserTest, RemapStorageBuffer_ThroughAccessChain_NonCascaded) {
const auto assembly = OldStorageBufferPreamble() + R"(
%100 = OpFunction %void None %voidfn
%entry = OpLabel
@@ -825,8 +824,7 @@
<< p->error();
}
-TEST_F(SpvParserTest,
- RemapStorageBuffer_ThroughCopyObject_WithoutHoisting) {
+TEST_F(SpvParserTest, RemapStorageBuffer_ThroughCopyObject_WithoutHoisting) {
// Generates a const declaration directly.
// We have to do a bunch of storage class tracking for locally
// defined values in order to get the right pointer-to-storage-buffer
diff --git a/src/reader/spirv/function_misc_test.cc b/src/reader/spirv/function_misc_test.cc
index 3cb8ddfc..e606da7 100644
--- a/src/reader/spirv/function_misc_test.cc
+++ b/src/reader/spirv/function_misc_test.cc
@@ -292,8 +292,7 @@
FunctionEmitter fe(p, *spirv_function(100));
EXPECT_TRUE(fe.EmitBody()) << p->error();
EXPECT_THAT(ToString(fe.ast_body()), Eq(R"(Return{}
-)"))
- << ToString(fe.ast_body());
+)")) << ToString(fe.ast_body());
}
// TODO(dneto): OpSizeof : requires Kernel (OpenCL)
diff --git a/src/writer/wgsl/generator_impl.cc b/src/writer/wgsl/generator_impl.cc
index dac8d3c..2c3dabe 100644
--- a/src/writer/wgsl/generator_impl.cc
+++ b/src/writer/wgsl/generator_impl.cc
@@ -730,7 +730,6 @@
return false;
}
}
-
}
out_ << ": ";