forked from OSchip/llvm-project
parent
20fd3c6ff7
commit
111023cdc6
|
@ -256,8 +256,7 @@ DSAStackTy::isOpenMPLocal(VarDecl *D, StackTy::reverse_iterator Iter) {
|
|||
if (Stack.size() > 2) {
|
||||
reverse_iterator I = Iter, E = Stack.rend() - 1;
|
||||
Scope *TopScope = 0;
|
||||
while (I != E &&
|
||||
I->Directive != OMPD_parallel) {
|
||||
while (I != E && I->Directive != OMPD_parallel) {
|
||||
++I;
|
||||
}
|
||||
if (I == E) return false;
|
||||
|
|
Loading…
Reference in New Issue