Patch to support "#pragma omp nothing"
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Can we have test for right usage?
clang/lib/Parse/ParseOpenMP.cpp | ||
---|---|---|
2496 | clang-format plz, and remove the { and } as there is only one statement. |
Comment Actions
I do not understand "test for right usage". From the specifications the only right usage for "omp nothing" will be in the metadirective. If you have meeting notes when "omp nothing" was framed please share it.
Comment Actions
In gcc sources support "#pragma omp nothing" has been implemented. Test cases for it are in:
gcc/gcc/testsuite/c-c++-common/gomp/nothing-1.c
gcc/gcc/testsuite/c-c++-common/gomp/nothing-2.c
These 2 test cases indicate a similar kind of test cases as those which have been added in this support for "omp nothing". There does not seem to be a test for right usage.
clang-format plz, and remove the { and } as there is only one statement.