mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
Everywhere: Hook up remaining debug macros to Debug.h.
This commit is contained in:
parent
da69de1f1b
commit
eea72b9b5c
Notes:
sideshowbarker
2024-07-18 22:52:39 +09:00
Author: https://github.com/asynts
Commit: eea72b9b5c
Pull-request: https://github.com/SerenityOS/serenity/pull/5092
63 changed files with 458 additions and 287 deletions
|
@ -25,6 +25,7 @@
|
|||
*/
|
||||
|
||||
#include "AutoComplete.h"
|
||||
#include <AK/Debug.h>
|
||||
#include <AK/HashTable.h>
|
||||
#include <LibCpp/Lexer.h>
|
||||
|
||||
|
@ -42,7 +43,7 @@ Vector<GUI::AutocompleteProvider::Entry> AutoComplete::get_suggestions(const Str
|
|||
|
||||
auto suggestions = identifier_prefixes(lines, tokens, index_of_target_token.value());
|
||||
|
||||
#ifdef DEBUG_AUTOCOMPLETE
|
||||
#if AUTOCOMPLETE_DEBUG
|
||||
for (auto& suggestion : suggestions) {
|
||||
dbgln("suggestion: {}", suggestion.completion);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue