diff options
author | harishch4 <harishcse44@gmail.com> | 2024-04-17 15:21:45 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 15:21:45 +0530 |
commit | fa61f062a515be92a98cac64a9193498918c1225 (patch) | |
tree | 45874a1dc088b2dcc5ef7269ee0b53378196b362 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | |
parent | 42d801d4e42ff8c47c3a24d562774851e3a424f5 (diff) | |
download | llvm-fa61f062a515be92a98cac64a9193498918c1225.zip llvm-fa61f062a515be92a98cac64a9193498918c1225.tar.gz llvm-fa61f062a515be92a98cac64a9193498918c1225.tar.bz2 |
Fix threadprivate variable scope inside BLOCK construct. (#88921)
When a local variable inside a BLOCK construct is used as threadprivate
variable, llvm-flang throws below error:
> error: The THREADPRIVATE directive and the common block or variable in
it must appear in the same declaration section of a scoping unit
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions