Browse Source

Fix crash

pg
josetr 3 years ago
parent
commit
57b904a4d8
  1. 1
      src/CppParser/Parser.cpp

1
src/CppParser/Parser.cpp

@ -2704,6 +2704,7 @@ Type* Parser::WalkType(clang::QualType QualType, const clang::TypeLoc* TL, @@ -2704,6 +2704,7 @@ Type* Parser::WalkType(clang::QualType QualType, const clang::TypeLoc* TL,
assert(TL->getTypeLocClass() == TypeLoc::TemplateTypeParm);
auto TTTL = TL->getAs<TemplateTypeParmTypeLoc>();
if (TTTL.getDecl())
TPT->parameter = WalkTypeTemplateParameter(TTTL.getDecl());
}
else if (TP->getDecl())

Loading…
Cancel
Save