aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-05-02 16:14:38 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2023-05-11 09:38:21 +0200
commit2dc0dab7e8e626e3f4fc2df2c64a8671bf90fe89 (patch)
tree32ecd1ccb1b292c5ebfa141e04fd0328d7169c19
parenta44283735248250d3c600178cc7cc32a043bd4f1 (diff)
downloadgcc-2dc0dab7e8e626e3f4fc2df2c64a8671bf90fe89.zip
gcc-2dc0dab7e8e626e3f4fc2df2c64a8671bf90fe89.tar.gz
gcc-2dc0dab7e8e626e3f4fc2df2c64a8671bf90fe89.tar.bz2
ast: Rename header guard
The header guard did not match the file name anymore. gcc/rust/ChangeLog: * ast/rust-ast-collector.h (RUST_AST_TOKENSTREAM_H): Rename headerguard from RUST_AST_TOKENSTREAM_H ... (RUST_AST_COLLECTOR_H): ... to RUST_AST_COLLECTOR_H. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
-rw-r--r--gcc/rust/ast/rust-ast-collector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rust/ast/rust-ast-collector.h b/gcc/rust/ast/rust-ast-collector.h
index 01c7e7c..f6131a4 100644
--- a/gcc/rust/ast/rust-ast-collector.h
+++ b/gcc/rust/ast/rust-ast-collector.h
@@ -16,8 +16,8 @@
// along with GCC; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-#ifndef RUST_AST_TOKENSTREAM_H
-#define RUST_AST_TOKENSTREAM_H
+#ifndef RUST_AST_COLLECTOR_H
+#define RUST_AST_COLLECTOR_H
#include "rust-token.h"
#include "rust-ast-visitor.h"
@@ -314,4 +314,4 @@ private:
} // namespace Rust
-#endif // !RUST_AST_TOKENSTREAM_H
+#endif // !RUST_AST_COLLECTOR_H