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

Use better macro for coroutine support #531

Merged
merged 1 commit into from Jan 4, 2022

Conversation

RobinTF
Copy link
Collaborator

@RobinTF RobinTF commented Jan 3, 2022

I just noticed that CLion syntax highlighting works properly when using the _LIBCPP_VERSION instead of __clang__


// coroutines are still experimental in clang libcpp,
// adapt the appropriate namespaces.
#ifdef _LIBCPP_VERSION
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

_LIBCPP_VERSION will be defined by one of the "standard headers", that's why it has to be moved below other headers.

@joka921 joka921 merged commit 1f45527 into ad-freiburg:master Jan 4, 2022
@RobinTF RobinTF deleted the use-proper-macro branch January 4, 2022 10:53
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

2 participants