Skip to content

Conversation

r-barnes
Copy link
Contributor

@r-barnes r-barnes commented Sep 2, 2025

Summary:
LLVM has a warning -Wdeprecated-redundant-constexpr-static-def which raises the warning:

warning: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated

Since we are now on C++20, we can remove the out-of-line definition of constexpr static data members. This diff does so.

  • If you approve of this diff, please use the "Accept & Ship" button :-)

Differential Revision: D81359733

Copy link

pytorch-bot bot commented Sep 2, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13875

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit b6c10f0 with merge base a90e907 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 2, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D81359733

Copy link
Contributor

@JacobSzwejbka JacobSzwejbka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D81359733

r-barnes added a commit to r-barnes/executorch that referenced this pull request Sep 8, 2025
…ytorch#13875)

Summary:

LLVM has a warning `-Wdeprecated-redundant-constexpr-static-def` which raises the warning:

> warning: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated

Since we are now on C++20, we can remove the out-of-line definition of constexpr static data members. This diff does so.

 - If you approve of this diff, please use the "Accept & Ship" button :-)

Differential Revision: D81359733
…ytorch#13875)

Summary:

LLVM has a warning `-Wdeprecated-redundant-constexpr-static-def` which raises the warning:

> warning: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated

Since we are now on C++20, we can remove the out-of-line definition of constexpr static data members. This diff does so.

 - If you approve of this diff, please use the "Accept & Ship" button :-)

Differential Revision: D81359733
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D81359733

Copy link
Contributor

@JacobSzwejbka JacobSzwejbka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misunderstood the comment on c++20

@r-barnes
Copy link
Contributor Author

r-barnes commented Sep 8, 2025

@pytorchbot label "release notes: none"

@pytorch-bot pytorch-bot bot added the release notes: none Do not include this in the release notes label Sep 8, 2025
@facebook-github-bot facebook-github-bot merged commit 9ffcf4b into pytorch:main Sep 8, 2025
124 of 125 checks passed
@r-barnes r-barnes deleted the export-D81359733 branch September 11, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants