Fix #11815 (dump: add token attribute isTemplateArg) (#5220)

This commit is contained in:
Daniel Marjamäki 2023-07-05 23:12:22 +02:00 committed by GitHub
parent dde45455bf
commit 2ff9e60650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -5840,6 +5840,8 @@ void Tokenizer::dump(std::ostream &out) const
out << " externLang=\"C\""; out << " externLang=\"C\"";
if (tok->isExpandedMacro()) if (tok->isExpandedMacro())
out << " isExpandedMacro=\"true\""; out << " isExpandedMacro=\"true\"";
if (tok->isTemplateArg())
out << " isTemplateArg=\"true\"";
if (tok->isRemovedVoidParameter()) if (tok->isRemovedVoidParameter())
out << " isRemovedVoidParameter=\"true\""; out << " isRemovedVoidParameter=\"true\"";
if (tok->isSplittedVarDeclComma()) if (tok->isSplittedVarDeclComma())