Unverified Commit 7fb606e9 authored by elizabethandrews's avatar elizabethandrews Committed by GitHub
Browse files

[Clang] Fix a crash when using ast-dump=json (#70224)

CXXDeductionGuideDecl inherits from FunctionDecl. For FunctionDecls,
the JSONVisitor includes a call to visit NamedDecl in order to provide
mangled names in the dump. This did not correctly exclude
CXXDeductionGuideDecl, which resulted in an assert being hit.
parent 29fd3e2a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment