diff options
author | Saar Raz <saar@raz.email> | 2020-01-16 13:35:20 +0200 |
---|---|---|
committer | Saar Raz <saar@raz.email> | 2020-01-24 02:28:20 +0200 |
commit | 57f70e387e362d988937b6627461d781ecf09e50 (patch) | |
tree | b126849ed6285a11f8857c04a9b750cd2685a282 /clang/lib/Frontend/FrontendActions.cpp | |
parent | bfaba51f07d1b79ff6e71da106c2b7e153874b1d (diff) | |
download | bcm5719-llvm-57f70e387e362d988937b6627461d781ecf09e50.tar.gz bcm5719-llvm-57f70e387e362d988937b6627461d781ecf09e50.zip |
[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)
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions