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>
This commit is contained in:
Ryan Harrison 2020-08-25 14:55:53 +00:00 committed by Commit Bot service account
parent 3765a24060
commit a291fc1e7f
5 changed files with 5 additions and 9 deletions

View File

@ -752,8 +752,7 @@ RTArr -> __array__u32_stride_4
S -> __struct_S)")); S -> __struct_S)"));
} }
TEST_F(SpvParserTest, TEST_F(SpvParserTest, RemapStorageBuffer_ThroughAccessChain_NonCascaded) {
RemapStorageBuffer_ThroughAccessChain_NonCascaded) {
const auto assembly = OldStorageBufferPreamble() + R"( const auto assembly = OldStorageBufferPreamble() + R"(
%100 = OpFunction %void None %voidfn %100 = OpFunction %void None %voidfn
%entry = OpLabel %entry = OpLabel
@ -825,8 +824,7 @@ TEST_F(SpvParserTest, RemapStorageBuffer_ThroughAccessChain_Cascaded) {
<< p->error(); << p->error();
} }
TEST_F(SpvParserTest, TEST_F(SpvParserTest, RemapStorageBuffer_ThroughCopyObject_WithoutHoisting) {
RemapStorageBuffer_ThroughCopyObject_WithoutHoisting) {
// Generates a const declaration directly. // Generates a const declaration directly.
// We have to do a bunch of storage class tracking for locally // We have to do a bunch of storage class tracking for locally
// defined values in order to get the right pointer-to-storage-buffer // defined values in order to get the right pointer-to-storage-buffer

View File

@ -292,8 +292,7 @@ TEST_F(SpvParserTestMiscInstruction, OpNop) {
FunctionEmitter fe(p, *spirv_function(100)); FunctionEmitter fe(p, *spirv_function(100));
EXPECT_TRUE(fe.EmitBody()) << p->error(); EXPECT_TRUE(fe.EmitBody()) << p->error();
EXPECT_THAT(ToString(fe.ast_body()), Eq(R"(Return{} EXPECT_THAT(ToString(fe.ast_body()), Eq(R"(Return{}
)")) )")) << ToString(fe.ast_body());
<< ToString(fe.ast_body());
} }
// TODO(dneto): OpSizeof : requires Kernel (OpenCL) // TODO(dneto): OpSizeof : requires Kernel (OpenCL)

View File

@ -730,7 +730,6 @@ bool GeneratorImpl::EmitCase(ast::CaseStatement* stmt) {
return false; return false;
} }
} }
} }
out_ << ": "; out_ << ": ";