linting
Some checks failed
CI / build-test-release (push) Failing after 7m15s

This commit is contained in:
Jorijn van der Graaf 2026-07-23 01:24:42 +02:00
commit 8892154b28
70 changed files with 2780 additions and 596 deletions

View file

@ -0,0 +1,13 @@
// SPDX-License-Identifier: LGPL-3.0-only
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
// Fixture with deliberate violations at fixed line numbers —
// tests/Lint/main.cpp asserts on these exact lines. Do not reflow.
// MARKER inside a comment: must be invisible to CommentStripped() (line 7)
int DirtyTab() {
return 1; // deliberate tab indent (line 9)
}
const char* dirtyString = "MARKER inside a string literal (line 12)";
int MARKER_in_code = 13; // identifier survives CommentStripped() (line 13)