Skip to content

Utility: (attempt to) use a Clang 14+ pragma for CORRADE_DEPRECATED_MACRO()#207

Draft
mosra wants to merge 1 commit intomasterfrom
clang-deprecated-macro
Draft

Utility: (attempt to) use a Clang 14+ pragma for CORRADE_DEPRECATED_MACRO()#207
mosra wants to merge 1 commit intomasterfrom
clang-deprecated-macro

Conversation

@mosra
Copy link
Copy Markdown
Owner

@mosra mosra commented Mar 16, 2026

Well, except that the way I'm using it doesn't really work, it would need to be a standalone declaration independent from the macro definition itself. Which ... makes it pretty much useless, sigh.

The original proposal at https://reviews.llvm.org/D67935 implemented an approach that's exactly matching my use case, but the final version at llvm/llvm-project@26c695b doesn't seem to support that anymore, and is thus impossible to be wrapped in a compiler-independent macro. Sigh.

Well, except that the way I'm using it doesn't really work, it would
need to be a standalone declaration independent from the macro
definition itself. Which ... makes it pretty much useless, sigh.

The original proposal at https://reviews.llvm.org/D67935 implemented an
approach that's exactly matching my use case, but the final version at
llvm/llvm-project@26c695b
doesn't seem to support that anymore, and is thus impossible to be
wrapped in a compiler-independent macro. Sigh.
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.25%. Comparing base (2b7251d) to head (492288d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #207   +/-   ##
=======================================
  Coverage   98.25%   98.25%           
=======================================
  Files         143      143           
  Lines       13283    13283           
=======================================
  Hits        13051    13051           
  Misses        232      232           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: TODO

Development

Successfully merging this pull request may close these issues.

1 participant