aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-05-31 15:12:14 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-06-01 08:25:26 +0000
commite4359c47260614f123a6d186ccbf2a2522a30125 (patch)
treeb383b4ef0adbecb6b1a9a39be4998e8d2b756977 /gcc
parentaa823eafca61946d455d13d834c211991f841312 (diff)
downloadgcc-e4359c47260614f123a6d186ccbf2a2522a30125.zip
gcc-e4359c47260614f123a6d186ccbf2a2522a30125.tar.gz
gcc-e4359c47260614f123a6d186ccbf2a2522a30125.tar.bz2
expand: Add missing copyright headers
Fixes #2250 gcc/rust/ChangeLog: * expand/rust-macro-invoc-lexer.cc: Add missing copyright header. * expand/rust-macro-substitute-ctx.cc: Likewise.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/expand/rust-macro-invoc-lexer.cc18
-rw-r--r--gcc/rust/expand/rust-macro-substitute-ctx.cc18
2 files changed, 36 insertions, 0 deletions
diff --git a/gcc/rust/expand/rust-macro-invoc-lexer.cc b/gcc/rust/expand/rust-macro-invoc-lexer.cc
index 66a3a69..59d343f 100644
--- a/gcc/rust/expand/rust-macro-invoc-lexer.cc
+++ b/gcc/rust/expand/rust-macro-invoc-lexer.cc
@@ -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"
diff --git a/gcc/rust/expand/rust-macro-substitute-ctx.cc b/gcc/rust/expand/rust-macro-substitute-ctx.cc
index 84df2c2..ed7cf1b 100644
--- a/gcc/rust/expand/rust-macro-substitute-ctx.cc
+++ b/gcc/rust/expand/rust-macro-substitute-ctx.cc
@@ -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 {