From 03f1795edba9ec9c8cb64031ddfe61a67e6167ff Mon Sep 17 00:00:00 2001 From: Maximilian Downey Twiss <creatorsmithmdt@gmail.com> Date: Fri, 18 Nov 2022 09:53:31 +1100 Subject: [PATCH 21/56] Rename gcc/java/*.c to *.cc.
gcc/java/ChangeLog: * Make-lang.in: Rename .c names to .cc. * boehm.c: Moved to... * boehm.cc: ...here. * builtins.c: Moved to... * builtins.cc: ...here. * class.c: Moved to... * class.cc: ...here. * config-lang.in: * constants.c: Moved to... * constants.cc: ...here. * decl.c: Moved to... * decl.cc: ...here. * except.c: Moved to... * except.cc: ...here. * expr.c: Moved to... * expr.cc: ...here. * java-gimplify.c: Moved to... * java-gimplify.cc: ...here. * jcf-depend.c: Moved to... * jcf-depend.cc: ...here. * jcf-dump.c: Moved to... * jcf-dump.cc: ...here. * jcf-io.c: Moved to... * jcf-io.cc: ...here. * jcf-parse.c: Moved to... * jcf-parse.cc: ...here. * jcf-path.c: Moved to... * jcf-path.cc: ...here. * jcf-reader.c: Moved to... * jcf-reader.cc: ...here. * jvgenmain.c: Moved to... * jvgenmain.cc: ...here. * jvspec.c: Moved to... * jvspec.cc: ...here. * lang.c: Moved to... * lang.cc: ...here. * mangle.c: Moved to... * mangle.cc: ...here. * mangle_name.c: Moved to... * mangle_name.cc: ...here. * resource.c: Moved to... * resource.cc: ...here. * typeck.c: Moved to... * typeck.cc: ...here. * verify-glue.c: Moved to... * verify-glue.cc: ...here. * verify-impl.c: Moved to... * verify-impl.cc: ...here. * win32-host.c: Moved to... * win32-host.cc: ...here. * zextract.c: Moved to... * zextract.cc: ...here. --- gcc/java/Make-lang.in | 2 +- gcc/java/{boehm.c => boehm.cc} | 0 gcc/java/{builtins.c => builtins.cc} | 0 gcc/java/{class.c => class.cc} | 0 gcc/java/config-lang.in | 2 +- gcc/java/{constants.c => constants.cc} | 0 gcc/java/{decl.c => decl.cc} | 0 gcc/java/{except.c => except.cc} | 0 gcc/java/{expr.c => expr.cc} | 0 gcc/java/{java-gimplify.c => java-gimplify.cc} | 0 gcc/java/{jcf-depend.c => jcf-depend.cc} | 0 gcc/java/{jcf-dump.c => jcf-dump.cc} | 2 +- gcc/java/{jcf-io.c => jcf-io.cc} | 0 gcc/java/{jcf-parse.c => jcf-parse.cc} | 2 +- gcc/java/{jcf-path.c => jcf-path.cc} | 0 gcc/java/{jcf-reader.c => jcf-reader.cc} | 0 gcc/java/{jvgenmain.c => jvgenmain.cc} | 0 gcc/java/{jvspec.c => jvspec.cc} | 0 gcc/java/{lang.c => lang.cc} | 0 gcc/java/{mangle.c => mangle.cc} | 0 gcc/java/{mangle_name.c => mangle_name.cc} | 0 gcc/java/{resource.c => resource.cc} | 0 gcc/java/{typeck.c => typeck.cc} | 0 gcc/java/{verify-glue.c => verify-glue.cc} | 0 gcc/java/{verify-impl.c => verify-impl.cc} | 0 gcc/java/{win32-host.c => win32-host.cc} | 0 gcc/java/{zextract.c => zextract.cc} | 0 27 files changed, 4 insertions(+), 4 deletions(-) rename gcc/java/{boehm.c => boehm.cc} (100%) rename gcc/java/{builtins.c => builtins.cc} (100%) rename gcc/java/{class.c => class.cc} (100%) rename gcc/java/{constants.c => constants.cc} (100%) rename gcc/java/{decl.c => decl.cc} (100%) rename gcc/java/{except.c => except.cc} (100%) rename gcc/java/{expr.c => expr.cc} (100%) rename gcc/java/{java-gimplify.c => java-gimplify.cc} (100%) rename gcc/java/{jcf-depend.c => jcf-depend.cc} (100%) rename gcc/java/{jcf-dump.c => jcf-dump.cc} (99%) rename gcc/java/{jcf-io.c => jcf-io.cc} (100%) rename gcc/java/{jcf-parse.c => jcf-parse.cc} (99%) rename gcc/java/{jcf-path.c => jcf-path.cc} (100%) rename gcc/java/{jcf-reader.c => jcf-reader.cc} (100%) rename gcc/java/{jvgenmain.c => jvgenmain.cc} (100%) rename gcc/java/{jvspec.c => jvspec.cc} (100%) rename gcc/java/{lang.c => lang.cc} (100%) rename gcc/java/{mangle.c => mangle.cc} (100%) rename gcc/java/{mangle_name.c => mangle_name.cc} (100%) rename gcc/java/{resource.c => resource.cc} (100%) rename gcc/java/{typeck.c => typeck.cc} (100%) rename gcc/java/{verify-glue.c => verify-glue.cc} (100%) rename gcc/java/{verify-impl.c => verify-impl.cc} (100%) rename gcc/java/{win32-host.c => win32-host.cc} (100%) rename gcc/java/{zextract.c => zextract.cc} (100%) diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index cbfd479a3dd..80e221b30a7 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -117,7 +117,7 @@ java.rest.encap: java.tags: force - cd $(srcdir)/java; etags -o TAGS.sub *.c *.h --language=none \ + cd $(srcdir)/java; etags -o TAGS.sub *.cc *.h --language=none \ --regex='/DEFTREECODE [(]\([A-Z_]+\)/\1/' java-tree.def; \ etags --include TAGS.sub --include ../TAGS.sub diff --git a/gcc/java/boehm.c b/gcc/java/boehm.cc similarity index 100% rename from gcc/java/boehm.c rename to gcc/java/boehm.cc diff --git a/gcc/java/builtins.c b/gcc/java/builtins.cc similarity index 100% rename from gcc/java/builtins.c rename to gcc/java/builtins.cc diff --git a/gcc/java/class.c b/gcc/java/class.cc similarity index 100% rename from gcc/java/class.c rename to gcc/java/class.cc diff --git a/gcc/java/config-lang.in b/gcc/java/config-lang.in index 4e2df07482c..2cec3736655 100644 --- a/gcc/java/config-lang.in +++ b/gcc/java/config-lang.in @@ -32,7 +32,7 @@ language="java" compilers="jc1\$(exeext) jvgenmain\$(exeext)" -gtfiles="\$(srcdir)/java/java-tree.h \$(srcdir)/java/jcf.h \$(srcdir)/java/parse.h \$(srcdir)/java/builtins.c \$(srcdir)/java/class.c \$(srcdir)/java/constants.c \$(srcdir)/java/decl.c \$(srcdir)/java/expr.c \$(srcdir)/java/jcf-parse.c \$(srcdir)/java/lang.c \$(srcdir)/java/mangle.c \$(srcdir)/java/resource.c" +gtfiles="\$(srcdir)/java/java-tree.h \$(srcdir)/java/jcf.h \$(srcdir)/java/parse.h \$(srcdir)/java/builtins.cc \$(srcdir)/java/class.cc \$(srcdir)/java/constants.cc \$(srcdir)/java/decl.cc \$(srcdir)/java/expr.cc \$(srcdir)/java/jcf-parse.cc \$(srcdir)/java/lang.cc \$(srcdir)/java/mangle.cc \$(srcdir)/java/resource.cc" target_libs="target-libjava target-libffi target-zlib" lang_dirs="fastjar" diff --git a/gcc/java/constants.c b/gcc/java/constants.cc similarity index 100% rename from gcc/java/constants.c rename to gcc/java/constants.cc diff --git a/gcc/java/decl.c b/gcc/java/decl.cc similarity index 100% rename from gcc/java/decl.c rename to gcc/java/decl.cc diff --git a/gcc/java/except.c b/gcc/java/except.cc similarity index 100% rename from gcc/java/except.c rename to gcc/java/except.cc diff --git a/gcc/java/expr.c b/gcc/java/expr.cc similarity index 100% rename from gcc/java/expr.c rename to gcc/java/expr.cc diff --git a/gcc/java/java-gimplify.c b/gcc/java/java-gimplify.cc similarity index 100% rename from gcc/java/java-gimplify.c rename to gcc/java/java-gimplify.cc diff --git a/gcc/java/jcf-depend.c b/gcc/java/jcf-depend.cc similarity index 100% rename from gcc/java/jcf-depend.c rename to gcc/java/jcf-depend.cc diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.cc similarity index 99% rename from gcc/java/jcf-dump.c rename to gcc/java/jcf-dump.cc index 8b00e57d24a..087329d3c1e 100644 --- a/gcc/java/jcf-dump.c +++ b/gcc/java/jcf-dump.cc @@ -1118,7 +1118,7 @@ print_exception_table (JCF *jcf, const unsigned char *entries, int count) } } -#include "jcf-reader.c" +#include "jcf-reader.cc" static void process_class (JCF *jcf) diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.cc similarity index 100% rename from gcc/java/jcf-io.c rename to gcc/java/jcf-io.cc diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.cc similarity index 99% rename from gcc/java/jcf-parse.c rename to gcc/java/jcf-parse.cc index ed3e32f9788..7fb734215c2 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.cc @@ -1003,7 +1003,7 @@ handle_signature_attribute (int member_index, JCF *jcf, attribute_length, attr_type); \ } -#include "jcf-reader.c" +#include "jcf-reader.cc" tree parse_signature (JCF *jcf, int sig_index) diff --git a/gcc/java/jcf-path.c b/gcc/java/jcf-path.cc similarity index 100% rename from gcc/java/jcf-path.c rename to gcc/java/jcf-path.cc diff --git a/gcc/java/jcf-reader.c b/gcc/java/jcf-reader.cc similarity index 100% rename from gcc/java/jcf-reader.c rename to gcc/java/jcf-reader.cc diff --git a/gcc/java/jvgenmain.c b/gcc/java/jvgenmain.cc similarity index 100% rename from gcc/java/jvgenmain.c rename to gcc/java/jvgenmain.cc diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.cc similarity index 100% rename from gcc/java/jvspec.c rename to gcc/java/jvspec.cc diff --git a/gcc/java/lang.c b/gcc/java/lang.cc similarity index 100% rename from gcc/java/lang.c rename to gcc/java/lang.cc diff --git a/gcc/java/mangle.c b/gcc/java/mangle.cc similarity index 100% rename from gcc/java/mangle.c rename to gcc/java/mangle.cc diff --git a/gcc/java/mangle_name.c b/gcc/java/mangle_name.cc similarity index 100% rename from gcc/java/mangle_name.c rename to gcc/java/mangle_name.cc diff --git a/gcc/java/resource.c b/gcc/java/resource.cc similarity index 100% rename from gcc/java/resource.c rename to gcc/java/resource.cc diff --git a/gcc/java/typeck.c b/gcc/java/typeck.cc similarity index 100% rename from gcc/java/typeck.c rename to gcc/java/typeck.cc diff --git a/gcc/java/verify-glue.c b/gcc/java/verify-glue.cc similarity index 100% rename from gcc/java/verify-glue.c rename to gcc/java/verify-glue.cc diff --git a/gcc/java/verify-impl.c b/gcc/java/verify-impl.cc similarity index 100% rename from gcc/java/verify-impl.c rename to gcc/java/verify-impl.cc diff --git a/gcc/java/win32-host.c b/gcc/java/win32-host.cc similarity index 100% rename from gcc/java/win32-host.c rename to gcc/java/win32-host.cc diff --git a/gcc/java/zextract.c b/gcc/java/zextract.cc similarity index 100% rename from gcc/java/zextract.c rename to gcc/java/zextract.cc -- 2.38.1