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

Corentin/universal #36

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

Corentin/universal #36

wants to merge 28 commits into from

Conversation

cor3ntin
Copy link
Owner

No description provided.

When using the name of a template variable or concept in places
where an expression was expected, Clang would drop the cxxscope token
preceeding it, if any.

This leads to subpar diagnostics - complaining about the
identifier being undeclared as clang would not know to look into a
non-global scope.

We make sure the scope is preserved.

When encountering `ns::Concept foo x;`, Clang would also fail
to provide the same quality as it does at global scope.

Differential Revision: https://reviews.llvm.org/D146719
* Expressions of the form `Concept<ConceptName>`
are normalized by instantiating `ConceptName` in
`Concept` associated constraints and normaliziing
that instantiatiation's associated constraints.

* Normalize fold expressions
(http://cplusplus.github.io/concepts-ts/ts-active.html#28)
Thhis is currently disabled because it is not clear whether that
is actually implementable.
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.

1 participant