diff --git a/src/ast/array_decoration.cc b/src/ast/array_decoration.cc deleted file mode 100644 index 9241f96dcb..0000000000 --- a/src/ast/array_decoration.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2020 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "src/ast/array_decoration.h" - -TINT_INSTANTIATE_TYPEINFO(tint::ast::ArrayDecoration); - -namespace tint { -namespace ast { - -constexpr const DecorationKind ArrayDecoration::Kind; - -ArrayDecoration::ArrayDecoration(const Source& source) : Base(source) {} - -ArrayDecoration::~ArrayDecoration() = default; - -DecorationKind ArrayDecoration::GetKind() const { - return Kind; -} - -} // namespace ast -} // namespace tint diff --git a/src/ast/struct_member_decoration.cc b/src/ast/struct_member_decoration.cc deleted file mode 100644 index 1e5b818fcc..0000000000 --- a/src/ast/struct_member_decoration.cc +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2020 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "src/ast/struct_member_decoration.h" - -TINT_INSTANTIATE_TYPEINFO(tint::ast::StructMemberDecoration); - -namespace tint { -namespace ast { - -constexpr const DecorationKind StructMemberDecoration::Kind; - -StructMemberDecoration::StructMemberDecoration(const Source& source) - : Base(source) {} - -StructMemberDecoration::~StructMemberDecoration() = default; - -DecorationKind StructMemberDecoration::GetKind() const { - return Kind; -} - -} // namespace ast -} // namespace tint diff --git a/src/ast/type_decoration.cc b/src/ast/type_decoration.cc deleted file mode 100644 index 8b7d45788a..0000000000 --- a/src/ast/type_decoration.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2020 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "src/ast/type_decoration.h" - -TINT_INSTANTIATE_TYPEINFO(tint::ast::TypeDecoration); - -namespace tint { -namespace ast { - -constexpr const DecorationKind TypeDecoration::Kind; - -TypeDecoration::TypeDecoration(const Source& source) : Base(source) {} - -TypeDecoration::~TypeDecoration() = default; - -DecorationKind TypeDecoration::GetKind() const { - return Kind; -} - -} // namespace ast -} // namespace tint diff --git a/src/ast/variable_decoration.cc b/src/ast/variable_decoration.cc deleted file mode 100644 index 93e57941d9..0000000000 --- a/src/ast/variable_decoration.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2020 The Tint Authors. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#include "src/ast/variable_decoration.h" - -TINT_INSTANTIATE_TYPEINFO(tint::ast::VariableDecoration); - -namespace tint { -namespace ast { - -constexpr const DecorationKind VariableDecoration::Kind; - -VariableDecoration::VariableDecoration(const Source& source) : Base(source) {} - -VariableDecoration::~VariableDecoration() = default; - -DecorationKind VariableDecoration::GetKind() const { - return Kind; -} - -} // namespace ast -} // namespace tint