Skip to content
Snippets Groups Projects
Commit 2453d04f authored by Pere Mato Vila's avatar Pere Mato Vila
Browse files

Partial fix for ROOT-8422

parent 3f20708e
Branches
Tags
No related merge requests found
...@@ -322,7 +322,7 @@ static void InstantiateFuncTemplateWithDefaults(clang::FunctionTemplateDecl* FTD ...@@ -322,7 +322,7 @@ static void InstantiateFuncTemplateWithDefaults(clang::FunctionTemplateDecl* FTD
paramType = S.SubstType(paramType, MLTAL, SourceLocation(), paramType = S.SubstType(paramType, MLTAL, SourceLocation(),
templatedDecl->getDeclName()); templatedDecl->getDeclName());
if (paramType->isDependentType()) { if (paramType.isNull() || paramType->isDependentType()) {
// Even after resolving the types through the surrounding template // Even after resolving the types through the surrounding template
// this argument type is still dependent: do not look it up. // this argument type is still dependent: do not look it up.
skip = true; skip = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment