1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:27:35 +00:00

Everywhere: Remove unnecessary debug comments.

It would be tempting to uncomment these statements, but that won't work
with the new changes.

This was done with the following commands:

    find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec awk -i inplace '$0 !~ /\/\/#define/ { if (!toggle) { print; } else { toggle = !toggle } } ; $0 ~/\/\/#define/ { toggle = 1 }' {} \;

    find . \( -name '*.cpp' -o -name '*.h' -o -name '*.in' \) -not -path './Toolchain/*' -not -path './Build/*' -exec awk -i inplace '$0 !~ /\/\/ #define/ { if (!toggle) { print; } else { toggle = !toggle } } ; $0 ~/\/\/ #define/ { toggle = 1 }' {} \;
This commit is contained in:
asynts 2021-01-23 23:45:29 +01:00 committed by Andreas Kling
parent 1a3a0836c0
commit acdcf59a33
90 changed files with 0 additions and 200 deletions

View file

@ -51,8 +51,6 @@
#include <LibWeb/OutOfProcessWebView.h>
#include <fcntl.h>
// #define EDITOR_DEBUG
namespace HackStudio {
Editor::Editor()

View file

@ -34,8 +34,6 @@
#include <LibGfx/FontDatabase.h>
#include <LibGfx/Palette.h>
// #define DEBUG_DIFF
namespace HackStudio {
DiffViewer::~DiffViewer()

View file

@ -28,8 +28,6 @@
#include <AK/HashTable.h>
#include <LibCpp/Lexer.h>
// #define DEBUG_AUTOCOMPLETE
namespace LanguageServers::Cpp {
Vector<GUI::AutocompleteProvider::Entry> AutoComplete::get_suggestions(const String& code, const GUI::TextPosition& autocomplete_position)

View file

@ -31,8 +31,6 @@
#include <Shell/Parser.h>
#include <Shell/Shell.h>
// #define DEBUG_AUTOCOMPLETE
namespace LanguageServers::Shell {
Vector<GUI::AutocompleteProvider::Entry> AutoComplete::get_suggestions(const String& code, size_t offset)

View file

@ -33,8 +33,6 @@
#include <ctype.h>
#include <stdio.h>
//#define GENERATE_DEBUG_CODE
struct Parameter {
Vector<String> attributes;
String type;

View file

@ -32,8 +32,6 @@
#include <mallocdefs.h>
#include <string.h>
//#define REACHABLE_DEBUG
namespace UserspaceEmulator {
MallocTracer::MallocTracer(Emulator& emulator)

View file

@ -42,8 +42,6 @@
_exit(0); \
} while (0)
//#define MEMORY_DEBUG
#define DEFINE_GENERIC_SHIFT_ROTATE_INSN_HANDLERS(mnemonic, op) \
void SoftCPU::mnemonic##_RM8_1(const X86::Instruction& insn) { generic_RM8_1(op<ValueWithShadow<u8>>, insn); } \
void SoftCPU::mnemonic##_RM8_CL(const X86::Instruction& insn) { generic_RM8_CL(op<ValueWithShadow<u8>>, insn); } \