mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 04:06:07 +00:00
Canonicalize template template parameters. We can't test this yet, but
it's "obviously correct" :) llvm-svn: 77677
This commit is contained in:
parent
70317123c9
commit
c97f09f565
@ -622,7 +622,11 @@ void StmtProfiler::VisitDecl(Decl *D) {
|
||||
return;
|
||||
}
|
||||
|
||||
// FIXME: Template template parameters?
|
||||
if (TemplateTemplateParmDecl *TTP = dyn_cast<TemplateTemplateParmDecl>(D)) {
|
||||
ID.AddInteger(TTP->getDepth());
|
||||
ID.AddInteger(TTP->getIndex());
|
||||
return;
|
||||
}
|
||||
|
||||
if (OverloadedFunctionDecl *Ovl = dyn_cast<OverloadedFunctionDecl>(D)) {
|
||||
// Canonicalize all of the function declarations within the overload
|
||||
|
Loading…
x
Reference in New Issue
Block a user