forked from OSchip/llvm-project
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…
Reference in New Issue