Skip to content

Use non-reserved names for header include guards - #189

Merged
xiaoyeli merged 1 commit into
xiaoyeli:masterfrom
gruenich:feature/remove-non-reserved-header-guards
Nov 12, 2026
Merged

xiaoyeli merged 1 commit into
xiaoyeli:masterfrom
gruenich:feature/remove-non-reserved-header-guards

Conversation

@gruenich

@gruenich gruenich commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Identifiers that begin with two underscores are reserved for the implementation in C and C++.

More code modernization with the help of AI.

Identifiers that begin with two underscores are reserved for the
implementation in C and C++.
@xiaoyeli
xiaoyeli merged commit a8d98be into xiaoyeli:master Nov 12, 2026
5 checks passed
xiaoyeli pushed a commit to xiaoyeli/superlu_base that referenced this pull request Nov 12, 2026
Template counterpart of xiaoyeli/superlu#189. Identifiers beginning with
two underscores are reserved for the implementation in C and C++, so the
include guards in slu_xcomplex.h.base and slu_xdefs.h.base become
SUPERLU_<PRE>COMPLEX_H and SUPERLU_<pre>SP_DEFS_H, matching the extracted
slu_{s,d}complex.h and slu_{s,d,c,z}defs.h on superlu master.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VjnVBdsXEM3c41ssQ3hFAM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants