[gcc r14-7576] gccrs: ast: Rename header guard

Arthur Cohen cohenarthur@gcc.gnu.org
Tue Jan 16 17:42:01 GMT 2024


https://gcc.gnu.org/g:a56f04dec3eadfd4fcf1aabce00245147646d5aa

commit r14-7576-ga56f04dec3eadfd4fcf1aabce00245147646d5aa
Author: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Date:   Tue May 2 16:14:38 2023 +0200

    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>

Diff:
---
 gcc/rust/ast/rust-ast-collector.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/rust/ast/rust-ast-collector.h b/gcc/rust/ast/rust-ast-collector.h
index 01c7e7c4678..f6131a4ff2a 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


More information about the Gcc-cvs mailing list