gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / completer.h
index 7bfe0d5814246ed086b253264e2d8e9bf40ad994..d3afa5fe3ec872f62d993a3936ea2a17e5f56912 100644 (file)
@@ -242,7 +242,7 @@ struct completion_result
   DISABLE_COPY_AND_ASSIGN (completion_result);
 
   /* Move a result.  */
-  completion_result (completion_result &&rhs);
+  completion_result (completion_result &&rhs) noexcept;
 
   /* Release ownership of the match list array.  */
   char **release_match_list ();
@@ -326,6 +326,10 @@ public:
      LIST.  */
   void add_completions (completion_list &&list);
 
+  /* Remove completion matching NAME from the completion list, does nothing
+     if NAME is not already in the completion list.  */
+  void remove_completion (const char *name);
+
   /* Set the quote char to be appended after a unique completion is
      added to the input line.  Set to '\0' to clear.  See
      m_quote_char's description.  */
This page took 0.025239 seconds and 4 git commands to generate.