Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error that exceed Clang's default -fconstexpr-steps value #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gnaggnoyil
Copy link

From comments of the new test case added in NanoLogCpp17test.cc:

// This test is mainly intended to ensure that the constexpr implementation
// of getNumNibblesNeeded shall not exceed the maximum constexpr evaluation
// steps of a compiler. Implementation as of commit 2a94d70 would be
// evaluated in 1395813 steps under Clang 13.0.1-rc1, which is greater than
// the default value of Clang's `-fconstexpr-steps`, 1048576.

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.

None yet

1 participant