aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2021-03-05 18:02:53 +0100
committerPhilip Herron <herron.philip@googlemail.com>2021-03-05 17:48:26 +0000
commit670da018324136992d817648a64ca73810d45d82 (patch)
tree87766b1e42a0f21a00bd854699c3fc8a9a57d8fa /gcc
parenta886a9c06ed237a2fa8cff9d708f694066b18e66 (diff)
downloadgcc-670da018324136992d817648a64ca73810d45d82.zip
gcc-670da018324136992d817648a64ca73810d45d82.tar.gz
gcc-670da018324136992d817648a64ca73810d45d82.tar.bz2
Remove useless file.
fix #98
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-ast-containers.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/gcc/rust/ast/rust-ast-containers.h b/gcc/rust/ast/rust-ast-containers.h
deleted file mode 100644
index b01255e..0000000
--- a/gcc/rust/ast/rust-ast-containers.h
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (C) 2020 Free Software Foundation, Inc.
-
-// This file is part of GCC.
-
-// GCC is free software; you can redistribute it and/or modify it under
-// the terms of the GNU General Public License as published by the Free
-// Software Foundation; either version 3, or (at your option) any later
-// version.
-
-// GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-// WARRANTY; without even the implied warranty of MERCHANTABILITY or
-// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-// for more details.
-
-// You should have received a copy of the GNU General Public License
-// along with GCC; see the file COPYING3. If not see
-// <http://www.gnu.org/licenses/>.
-
-#ifndef RUST_AST_CONTAINERS_H
-#define RUST_AST_CONTAINERS_H
-// crappy redefined AST maybe. may move
-
-/* This is mainly the "logical", more "abstract" representation of the code,
- * while the "AST" itself is more high-level and matches the language better. */
-
-// this is now deprecated and replaced with the proper AST
-#error "rust-ast-containers.h was included by accident. Don't use."
-
-namespace Rust {
-namespace AST {
-struct Module
-{
-public:
-};
-
-struct Crate
-{
-public:
- Module root_module;
-};
-
-// replace with rust-types.h version
-struct AttributeList
-{
-public:
- //::std::vector<Attribute> attribs;
-};
-
-// replace with rust-types.h version
-struct Visibility
-{
-};
-
-/*enum VisibilityType {
- Private,
- PublicFull,
- PublicInPath,
- PublicCrate,
- PublicSuper,
- PublicSelfModule
-};
-
-// Represents visibility - maybe make into an enum or union or something
-struct Visibility {
-};
-
-*/
-} // namespace AST
-} // namespace Rust
-
-#endif