diff options
| author | Zahira Ammarguellat <zahira.ammarguellat@intel.com> | 2025-02-28 08:02:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-28 08:02:35 -0500 |
| commit | 26fc3aa983ab4615dfc32cebf74076c118de2a9d (patch) | |
| tree | 4d2c3e21f1f72c96a4eae4417790966d7f44bc8a /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py | |
| parent | 89e7f4d31b2673fd3bfaf065f930ca9139d92e10 (diff) | |
[OpenMP] Missing implicit otherwise clause in metadirective. (#127113)
Compiling this:
`int main() {`
` #pragma omp metadirective when(use r= {condition(0)}`
`: parallel for)`
`for (int i=0; i<10; i++)`
;
}`
is generating an error:
`error: expected expression`
The compiler is interpreting this as if it's compiling a `#pragma omp
metadirective` with no `otherwise` clause.
In the OMP5.2 specs chapter 7.4 it's mentioned that:
`If no otherwise clause is specified the effect is as if one was
specified without an associated directive variant.`
This patch fixes the issue.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions
