diff options
-rw-r--r-- | lib/AST/StmtProfile.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/AST/StmtProfile.cpp b/lib/AST/StmtProfile.cpp index 791c4398fb..5a04df0406 100644 --- a/lib/AST/StmtProfile.cpp +++ b/lib/AST/StmtProfile.cpp @@ -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 |