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.

(cherry picked from commit 8a3446746098ba29348bb8f85357dd0b466a6d6e)

Details

Committed
saar.razJan 23 2020, 4:28 PM
Parents
rGbfaba51f07d1: [Clang][IFS][Test] Work around in-process cc1 ASAN issues #2.
Branches
Unknown
Tags
Unknown