HomePhabricator

[Concepts] Fix ConceptSpecializationExpr profiling crash

Authored by saar.raz on Jan 16 2020, 3:35 AM.

Description

[Concepts] Fix ConceptSpecializationExpr profiling crash

ConceptSpecializationExprs (CSEs) were being created with nullptr
TemplateArgsAsWritten during TemplateTemplateParmDecl canonicalization, and
we were relying on them during profiling which caused sporadic crashes
in test/CXX/.../temp.arg.template/p3-2a.cpp introduced in D44352.

Change profiling of CSEs to instead rely on the actual converted template
arguments and concept named.

Details

Committed
saar.razJan 16 2020, 3:39 AM
Parents
rGb08e8353a89f: [clangd] Dont display `<unknown>` kinds in hover board
Branches
Unknown
Tags
Unknown