================
@@ -1358,7 +1360,12 @@ namespace {
SourceLocation Loc,
const MultiLevelTemplateArgumentList &TemplateArgs)
: inherited(SemaRef), TemplateArgs(TemplateArgs), Loc(Loc),
- BailOutOnIncomplete(false) {}
+ BailOutOnIncomplete(false) {
+ auto &V = TemplateArgsHashValue.emplace();
+ for (auto &Level : TemplateArgs)
+ for (auto &Arg : Level.Args)
+ Arg.Profile(V, SemaRef.Context);
----------------
zyn0217 wrote:
I put it in the constructor for tidiness, though I also think the MLTAL
shouldn't be too large to be profiled in the context where no arguments are
transformed
https://github.com/llvm/llvm-project/pull/188421
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits