Currently, the following nested scenario is not allowed in the OpenMP spec but clang allows it. Issue a warning.
#pragma omp simd for (i=0; i<10; i++) #pragma omp simd // warning for (j=0; j<10; j++) ;
The spec only allows the following case
#pragma omp simd for (i=0; i<10; i++) #pragma omp ordered simd // OK for (j=0; j<10; j++) ;
The code is not formatted properly