From 70a3f152f2f015fe2d05b0282ba4b46aba4737be Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Tue, 27 Oct 2020 18:14:29 +0000 Subject: [PATCH] Ran 'git cl format' over repo, found some nits Change-Id: I5774e4cfc8a570522ac6533d69b5b87f7e5e0b6c Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/31081 Commit-Queue: Ryan Harrison Reviewed-by: dan sinclair --- src/reader/spirv/parser_impl_test.cc | 2 +- src/validator_impl.cc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/reader/spirv/parser_impl_test.cc b/src/reader/spirv/parser_impl_test.cc index fa35918aaf..4d4138f6fc 100644 --- a/src/reader/spirv/parser_impl_test.cc +++ b/src/reader/spirv/parser_impl_test.cc @@ -206,7 +206,7 @@ TEST_F(SpvParserTest, Impl_Source_InvalidId) { } TEST_F(SpvParserTest, Impl_IsValidIdentifier) { - EXPECT_FALSE(ParserImpl::IsValidIdentifier("")); // empty + EXPECT_FALSE(ParserImpl::IsValidIdentifier("")); // empty EXPECT_FALSE( ParserImpl::IsValidIdentifier("_")); // leading underscore, but ok later EXPECT_FALSE( diff --git a/src/validator_impl.cc b/src/validator_impl.cc index 624793c98b..d3d404d1ce 100644 --- a/src/validator_impl.cc +++ b/src/validator_impl.cc @@ -12,9 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include #include "src/validator_impl.h" + +#include #include + #include "src/ast/call_statement.h" #include "src/ast/function.h" #include "src/ast/int_literal.h"