diff options
| author | ofAlpaca <frank70199@gmail.com> | 2024-09-19 08:33:37 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-19 08:33:37 +0800 |
| commit | 258fc7f582877d3bc2a26e62da4f50e467d8c640 (patch) | |
| tree | 915e603942c9f6830593d5ef7e51670913663864 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 1bda7ba12ebccc663dff224e3bf2e4ad2235c05f (diff) | |
[Clang] Fix -ast-dump-decl-types crashes on concepts (#108142)
Resolve #94928
This PR adds `if (TD->getTemplateDecl())` to prevent `InnerD` becoming
`nullptr`, suggested by @firstmoonlight.
I also add `-ast-dump-decl-types` option and declare type `CHECK` to the
testcase `clang/test/AST/ast-dump-concepts.cpp`.
---------
Co-authored-by: Aaron Ballman <aaron@aaronballman.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
