diff options
| author | Erich Keane <ekeane@nvidia.com> | 2025-01-15 12:59:08 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-15 12:59:08 -0800 |
| commit | bf17016a92bc8a23d2cdd2b51355dd4eb5019c68 (patch) | |
| tree | 9261d590a87d9b620d4a3753d1943225f35c5c4a /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
| parent | d15d410a353f5e0f95daef4a0b22416d313d460d (diff) | |
| download | llvm-bf17016a92bc8a23d2cdd2b51355dd4eb5019c68.zip llvm-bf17016a92bc8a23d2cdd2b51355dd4eb5019c68.tar.gz llvm-bf17016a92bc8a23d2cdd2b51355dd4eb5019c68.tar.bz2 | |
Add 'enum_select' diagnostic selection to clang. (#122505)
This causes us to generate an enum to go along with the select
diagnostic, which allows for clearer diagnostic error emit lines.
The syntax for this is:
%enum_select<EnumerationName>{%OptionalEnumeratorName{Text}|{Text2}}0
Where the curley brackets around the select-text are only required if an
Enumerator name is provided.
The TableGen here emits this as a normal 'select' to the frontend, which
permits us to reuse all of the existing 'select' infrastructure.
Documentation is the same as well.
---------
Co-authored-by: Aaron Ballman <aaron@aaronballman.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions
