Skip to content

fix(clang-tidy): justify external linkage in compiler warnings fixture - #1295

Merged
castler merged 1 commit into
eclipse-score:mainfrom
castler:fix_internal_linkage_clean
Oct 6, 2026
Merged

castler merged 1 commit into
eclipse-score:mainfrom
castler:fix_internal_linkage_clean

Conversation

@castler

@castler castler commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Resolves the 14 remaining misc-use-internal-linkage alerts, all in quality/compiler_warnings/test/no_warnings/clean.cpp, with a justified NOLINTBEGIN/END.

The file is a compile-only false-positive fixture whose helpers are intentionally unused. Moving them to an anonymous namespace would trigger -Wunused-function, the very warning the fixture asserts is absent (and would fail with -Werror). Keeping external linkage preserves the test's meaning.

@castler
castler marked this pull request as ready for review October 6, 2026 07:53
@castler
castler enabled auto-merge October 6, 2026 07:53
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@castler
castler added this pull request to the merge queue Oct 6, 2026
Merged via the queue into eclipse-score:main with commit 381d43d Oct 6, 2026
16 checks passed
@castler
castler deleted the fix_internal_linkage_clean branch October 6, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants