From 881cdede29a0c409179c26391a629435fdff6bd0 Mon Sep 17 00:00:00 2001 From: David Neto Date: Tue, 17 Mar 2020 20:08:25 +0000 Subject: [PATCH] Fix include guards for SPV -> SPIRV Bug: tint:3 Change-Id: I34a7c8e7dd0116968d2614441b3bcb81d7e5c4e7 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/17202 Reviewed-by: dan sinclair --- src/reader/spirv/fail_stream.h | 6 +++--- src/reader/spirv/parser.h | 6 +++--- src/reader/spirv/parser_impl.h | 6 +++--- src/reader/spirv/spirv_tools_helpers_test.h | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/reader/spirv/fail_stream.h b/src/reader/spirv/fail_stream.h index 8045f9280f..eaa6f21520 100644 --- a/src/reader/spirv/fail_stream.h +++ b/src/reader/spirv/fail_stream.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef SRC_READER_SPV_FAIL_STREAM_H_ -#define SRC_READER_SPV_FAIL_STREAM_H_ +#ifndef SRC_READER_SPIRV_FAIL_STREAM_H_ +#define SRC_READER_SPIRV_FAIL_STREAM_H_ #include @@ -71,4 +71,4 @@ class FailStream { } // namespace reader } // namespace tint -#endif // SRC_READER_SPV_FAIL_STREAM_H_ +#endif // SRC_READER_SPIRV_FAIL_STREAM_H_ diff --git a/src/reader/spirv/parser.h b/src/reader/spirv/parser.h index 61eee8011d..0ace60c83d 100644 --- a/src/reader/spirv/parser.h +++ b/src/reader/spirv/parser.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef SRC_READER_SPV_PARSER_H_ -#define SRC_READER_SPV_PARSER_H_ +#ifndef SRC_READER_SPIRV_PARSER_H_ +#define SRC_READER_SPIRV_PARSER_H_ #include #include @@ -51,4 +51,4 @@ class Parser : public Reader { } // namespace reader } // namespace tint -#endif // SRC_READER_SPV_PARSER_H_ +#endif // SRC_READER_SPIRV_PARSER_H_ diff --git a/src/reader/spirv/parser_impl.h b/src/reader/spirv/parser_impl.h index 00549da615..480c427188 100644 --- a/src/reader/spirv/parser_impl.h +++ b/src/reader/spirv/parser_impl.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef SRC_READER_SPV_PARSER_IMPL_H_ -#define SRC_READER_SPV_PARSER_IMPL_H_ +#ifndef SRC_READER_SPIRV_PARSER_IMPL_H_ +#define SRC_READER_SPIRV_PARSER_IMPL_H_ #include #include @@ -134,4 +134,4 @@ class ParserImpl : Reader { } // namespace reader } // namespace tint -#endif // SRC_READER_SPV_PARSER_IMPL_H_ +#endif // SRC_READER_SPIRV_PARSER_IMPL_H_ diff --git a/src/reader/spirv/spirv_tools_helpers_test.h b/src/reader/spirv/spirv_tools_helpers_test.h index 91cb0816fc..d6db2a1938 100644 --- a/src/reader/spirv/spirv_tools_helpers_test.h +++ b/src/reader/spirv/spirv_tools_helpers_test.h @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -#ifndef SRC_READER_SPV_SPIRV_TOOLS_HELPERS_TEST_H_ -#define SRC_READER_SPV_SPIRV_TOOLS_HELPERS_TEST_H_ +#ifndef SRC_READER_SPIRV_SPIRV_TOOLS_HELPERS_TEST_H_ +#define SRC_READER_SPIRV_SPIRV_TOOLS_HELPERS_TEST_H_ #include #include @@ -33,4 +33,4 @@ std::vector Assemble(const std::string& spirv_assembly); } // namespace reader } // namespace tint -#endif // SRC_READER_SPV_SPIRV_TOOLS_HELPERS_TEST_H_ +#endif // SRC_READER_SPIRV_SPIRV_TOOLS_HELPERS_TEST_H_