diff options
| author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-05-02 13:02:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-02 13:02:24 -0500 |
| commit | 52c62364e76be0c66ba69764a80999aa651f6b59 (patch) | |
| tree | 07915bd085c9a247ef90b08cdd9ca9b6a0f8ac3b /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | a4e9cfd117301b662fb3cee52ce3762c525917d3 (diff) | |
| download | llvm-52c62364e76be0c66ba69764a80999aa651f6b59.zip llvm-52c62364e76be0c66ba69764a80999aa651f6b59.tar.gz llvm-52c62364e76be0c66ba69764a80999aa651f6b59.tar.bz2 | |
[OpenMP] Remove "alternativeName" from Clause and Directive classes (#138179)
The "alternativeName" was introduced ~5 years ago in D82405, and at the
moment it has only one use, the one that the original change introduced.
OpenMP 6.0 spec has introduced different spellings of some directives,
but the "alternativeName" is not an adequate mechanism to implement it.
For those reasons remove the "alternativeName" member from both Clause
and Directive in DirectiveBase.td.
Since the alternativeName text appeared in a number of clang OpenMP
tests, implement `getOpenMPClauseNameForDiag` in SemaOpenMP.cpp to
preserve the text of the diagnostics.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
