ladybird/Libraries/LibLine
Lenny Maiorani 765936ebae
Everywhere: Switch from (void) to [[maybe_unused]] (#4473)
Problem:
- `(void)` simply casts the expression to void. This is understood to
  indicate that it is ignored, but this is really a compiler trick to
  get the compiler to not generate a warning.

Solution:
- Use the `[[maybe_unused]]` attribute to indicate the value is unused.

Note:
- Functions taking a `(void)` argument list have also been changed to
  `()` because this is not needed and shows up in the same grep
  command.
2020-12-21 00:09:48 +01:00
..
CMakeLists.txt LibLine: Support multi-character key callbacks 2020-10-22 23:49:51 +02:00
Editor.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
Editor.h LibLine: Treat leftover data in buffer as a read event 2020-12-18 19:20:37 +01:00
InternalFunctions.cpp LibLine: Make ^R search match the input anywhere in a given line 2020-09-07 11:42:56 +02:00
KeyCallbackMachine.cpp LibLine: Support multi-character key callbacks 2020-10-22 23:49:51 +02:00
KeyCallbackMachine.h LibLine: Support multi-character key callbacks 2020-10-22 23:49:51 +02:00
Span.h LibLine: Remove unused header in Span.h 2020-05-29 07:59:45 +02:00
StringMetrics.h LibLine: Correctly display suggestions on multiline prompts 2020-06-30 18:21:44 +02:00
Style.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
SuggestionDisplay.h LibLine: Removed unused private field m_prompt_metrics 2020-08-04 17:42:08 +02:00
SuggestionManager.cpp Unicode: Try s/codepoint/code_point/g again 2020-08-05 22:33:42 +02:00
SuggestionManager.h Shell+LibLine: Record the input offset of completions 2020-10-04 23:12:28 +02:00
VT.h LibLine: Refactor suggestion handling and display logic out 2020-05-23 01:31:41 +02:00
XtermSuggestionDisplay.cpp LibLine: Only write to the standard error 2020-08-09 21:50:33 +02:00