Return unique_ptr from language_defn::get_compile_context
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 553b5f03056a879dd485c303189918a824f4bb6d..c6ad0bb8a5353ec271fa3c3b95cc24be8cddf965 100644 (file)
@@ -1,3 +1,17 @@
+2021-02-05  Tom Tromey  <tom@tromey.com>
+
+       * compile/compile-c-support.c (get_compile_context)
+       (c_get_compile_context, cplus_get_compile_context): Change return
+       type.
+       * language.c (language_defn::get_compile_instance): New method.
+       * language.h (language_defn::get_compile_instance): Change return
+       type.  No longer inline.
+       * c-lang.c (c_language::get_compile_instance): Change return type.
+       (cplus_language::get_compile_instance): Change return type.
+       * c-lang.h (c_get_compile_context, cplus_get_compile_context):
+       Change return type.
+       * compile/compile.c (compile_to_object): Update.
+
 2021-02-05  Tom Tromey  <tom@tromey.com>
 
        * parser-defs.h (write_exp_symbol_reference): Declare.
This page took 0.023289 seconds and 4 git commands to generate.