]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: ast: Rename header guard
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 2 May 2023 14:14:38 +0000 (16:14 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:37:17 +0000 (18:37 +0100)
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>
gcc/rust/ast/rust-ast-collector.h

index 01c7e7c4678e451c921c53b0ed3f02dc6634ab46..f6131a4ff2ab87946c644a3c9f9fcd70239d7a9d 100644 (file)
@@ -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