diff options
| author | Matheus Izvekov <mizvekov@gmail.com> | 2024-05-21 20:27:50 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-21 20:27:50 -0300 |
| commit | e42b799bb28815431f2c5a95f7e13fde3f1b36a1 (patch) | |
| tree | bb6d81d96bbac27b9455b5f1dd70fed08b15911a /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp | |
| parent | b90861498b5b5c06ba24a122b6987738560acf99 (diff) | |
[clang] NFCI: use TemplateArgumentLoc for type-param DefaultArgument (#92854)
This is an enabler for a future patch.
This allows an type-parameter default argument to be set as an arbitrary
TemplateArgument, not just a type.
This allows template parameter packs to have default arguments in the
AST, even though the language proper doesn't support the syntax for it.
This will be used in a later patch which synthesizes template parameter
lists with arbitrary default arguments taken from template
specializations.
There are a few places we used SubsType, because we only had a type, now
we use SubstTemplateArgument.
SubstTemplateArgument was missing arguments for setting Instantiation
location and entity names.
Adding those is needed so we don't regress in diagnostics.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
