aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-08-27 12:17:03 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-08-27 12:18:21 +0100
commitff4aa45535bc0103e4417e72386089a5421fe520 (patch)
tree9d534501aab34c91a19c6444716dc21b255177ca
parent442e3cd20cb9504e8c65815c8a8ad0cfa3e4efa8 (diff)
downloadgcc-ff4aa45535bc0103e4417e72386089a5421fe520.zip
gcc-ff4aa45535bc0103e4417e72386089a5421fe520.tar.gz
gcc-ff4aa45535bc0103e4417e72386089a5421fe520.tar.bz2
c++: Add correct copyright dates to output of gen-cxxapi-file.py
This ensures the generated output says something like 2022-2024 rather than just 2024. gcc/cp/ChangeLog: * gen-cxxapi-file.py: Fix copyright dates in generated output.
-rw-r--r--gcc/cp/gen-cxxapi-file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/gen-cxxapi-file.py b/gcc/cp/gen-cxxapi-file.py
index 31ed5b1..6d08f46 100644
--- a/gcc/cp/gen-cxxapi-file.py
+++ b/gcc/cp/gen-cxxapi-file.py
@@ -95,7 +95,7 @@ def hints(script, content):
%struct-type
%{{
/* This file is auto-generated by {:s}. */
-/* Copyright (C) {:s} Free Software Foundation, Inc.
+/* Copyright (C) 2022-{:s} Free Software Foundation, Inc.
This file is part of GCC.