Clang fails to diagnose cases such as
#pragma omp target
while(0) { #pragma omp teams {} }
Differential D21617
[OpenMP] Diagnose missing cases of statements between target and teams directives • davidsh on Jun 22 2016, 12:56 PM. Authored by
Details Clang fails to diagnose cases such as while(0) { #pragma omp teams {} }
Diff Detail Event TimelineComment Actions Hi David, This fix looks good but you have to add a regression test for it. Thanks, Comment Actions Thanks David, Let's wait for Alexey to see if he has any concerns related to this patch. Thanks again, Comment Actions LG with a small nit
|
I'd prefer something like this: