aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust
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>2024-01-16 18:37:17 +0100
commita56f04dec3eadfd4fcf1aabce00245147646d5aa (patch)
tree6b8633080a8bbd2a22d30731ab6757e251aa13d5 /gcc/rust
parent82387cd8a0e70c9ab791ebccf26290907cf0d217 (diff)
downloadgcc-a56f04dec3eadfd4fcf1aabce00245147646d5aa.zip
gcc-a56f04dec3eadfd4fcf1aabce00245147646d5aa.tar.gz
gcc-a56f04dec3eadfd4fcf1aabce00245147646d5aa.tar.bz2
gccrs: 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>
Diffstat (limited to 'gcc/rust')
-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