aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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