We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When misusing cilk_for the error message uses _Cilk_for instead of cilk_for
The following code
#include <cilk/cilk.h> int main() { cilk_for(int i = 0; i < 10; i++) { return 0; } }
gives the error of
del.cpp:4:38: error: cannot return from within a '_Cilk_for' loop
I would expect it to give an error of
del.cpp:4:38: error: cannot return from within a 'cilk_for' loop
clang version 16.0.6 (https://github.com/OpenCilk/opencilk-project aa4f4c0)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When misusing cilk_for the error message uses _Cilk_for instead of cilk_for
The following code
gives the error of
I would expect it to give an error of
clang version 16.0.6 (https://github.com/OpenCilk/opencilk-project aa4f4c0)
The text was updated successfully, but these errors were encountered: