[llvm-bugs] [Bug 49468] New: Declare target should allow empty sequences and namespaces
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Mar 7 11:11:11 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49468
Bug ID: 49468
Summary: Declare target should allow empty sequences and
namespaces
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangbugs at nondot.org
Reporter: jdoerfert at anl.gov
CC: a.bataev at hotmail.com, llvm-bugs at lists.llvm.org
The following should be valid but is diagnosed as errors now:
```
#pragma omp declare target
int G;
#pragma omp end declare target
#pragma omp declare target
namespace N {
int G;
}
#pragma omp end declare target
#pragma omp declare target
#pragma omp end declare target
```
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210307/8e3b1508/attachment.html>
More information about the llvm-bugs
mailing list