Skip to content

refactor(core): remove deprecation.h for C++20 module preparation#223

Merged
kcenon merged 2 commits into
mainfrom
refactor/remove-deprecation-header
Jan 3, 2026
Merged

refactor(core): remove deprecation.h for C++20 module preparation#223
kcenon merged 2 commits into
mainfrom
refactor/remove-deprecation-header

Conversation

@kcenon

@kcenon kcenon commented Jan 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove core/deprecation.h file with custom warning suppression macros
  • Remove CONTAINER_SUPPRESS_DEPRECATION_START/END macros from test framework files
  • Remove deprecated wrapper functions that had no callers (IsCiEnvironment, AdjustPerformanceThreshold, AdjustDurationThreshold)
  • Use standard [[deprecated]] attribute instead of custom macros
  • Follows Kent Beck's "Fewest Elements" principle for C++20 module preparation

Changes

Removed Files

  • core/deprecation.h - Custom deprecation warning suppression macros

Modified Files

  • integration_tests/framework/test_helpers.h - Remove include and macros, remove deprecated functions
  • integration_tests/framework/system_fixture.h - Remove include and macros

Test plan

  • All 15 tests pass
  • Build succeeds with no new errors
  • Deprecation warnings from other sources still work correctly (using standard [[deprecated]] attribute)

Closes #221

kcenon added 2 commits January 3, 2026 13:20
Remove deprecated warning suppression macros and consolidate
deprecation handling to use standard [[deprecated]] attribute.

Changes:
- Remove core/deprecation.h file
- Remove CONTAINER_SUPPRESS_DEPRECATION_START/END macros from test files
- Remove deprecated wrapper functions (IsCiEnvironment,
  AdjustPerformanceThreshold, AdjustDurationThreshold) that were
  already marked deprecated and had no callers

This simplifies the codebase following Kent Beck's "Fewest Elements"
principle and prepares for C++20 module migration.

Closes #221
Update both English and Korean changelogs with details about
the deprecation.h removal and C++20 module preparation changes.
@github-actions

github-actions Bot commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

Performance Benchmark Report

Summary

  • Total benchmarks: 0
  • Regressions: 0 ✅
  • Improvements: 0
  • Unchanged: 0 (within 10% threshold)

Status: No significant performance regressions detected.

@kcenon kcenon merged commit bb2ac3e into main Jan 3, 2026
30 checks passed
@kcenon kcenon deleted the refactor/remove-deprecation-header branch January 3, 2026 04:50
kcenon added a commit that referenced this pull request Apr 13, 2026
* refactor(core): remove deprecation.h for C++20 module preparation

Remove deprecated warning suppression macros and consolidate
deprecation handling to use standard [[deprecated]] attribute.

Changes:
- Remove core/deprecation.h file
- Remove CONTAINER_SUPPRESS_DEPRECATION_START/END macros from test files
- Remove deprecated wrapper functions (IsCiEnvironment,
  AdjustPerformanceThreshold, AdjustDurationThreshold) that were
  already marked deprecated and had no callers

This simplifies the codebase following Kent Beck's "Fewest Elements"
principle and prepares for C++20 module migration.

Closes #221

* docs(changelog): add deprecation.h removal entry

Update both English and Korean changelogs with details about
the deprecation.h removal and C++20 module preparation changes.
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.

[REFACTOR] Remove deprecation.h - C++20 Module preparation

1 participant