[OPENMP]Fix capturing of global variables in OpenMP regions.
Summary: The global variable should be captured in the region only if it was privitized in the region or in any of the outer regions. Otherwise, it should not be captured. Reviewers: jdoerfert Subscribers: yaxunl, guansong, cfe-commits, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D77731
parent
5b5a74f7
Please register or sign in to comment