Function Sema::isOpenMPGlobalCapturedDecl() has a parameter unsigned Level,
but use Level >= 0 as the condition of while, thus cause an infinite loop.
Fix by changing the loop condition to Level > 0.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@jdoerfert @ABataev
I don't have commit access, can you help commit this?
Yang Fan <nullptr.cpp@gmail.com>
Thanks!