]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: expand: Add missing copyright headers
authorArthur Cohen <arthur.cohen@embecosm.com>
Wed, 31 May 2023 13:12:14 +0000 (15:12 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:37:23 +0000 (18:37 +0100)
Fixes #2250

gcc/rust/ChangeLog:

* expand/rust-macro-invoc-lexer.cc: Add missing copyright header.
* expand/rust-macro-substitute-ctx.cc: Likewise.

gcc/rust/expand/rust-macro-invoc-lexer.cc
gcc/rust/expand/rust-macro-substitute-ctx.cc

index 66a3a6922fc989c9518381b89a0028036944ef86..59d343f86a6c228b74b52608e2e536f552e606db 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2020-2023 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/>.
+
 #include "rust-macro-invoc-lexer.h"
 #include "rust-token.h"
 
index 84df2c2623e699615cd038be65c9d047994ab424..ed7cf1b2ab507fe9e489f8fcaaf0480476e08300 100644 (file)
@@ -1,3 +1,21 @@
+// Copyright (C) 2020-2023 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/>.
+
 #include "rust-macro-substitute-ctx.h"
 
 namespace Rust {