minor fix

This commit is contained in:
Roy Qu 2022-12-03 11:02:33 +08:00
parent dcc7011d0c
commit 9f2ab0479e
3 changed files with 2 additions and 4 deletions

View File

@ -3249,7 +3249,6 @@ void CppParser::handleStructs(bool isTypedef)
// normal class/struct decl
} else {
bool templateSpecialization=false;
PStatement firstSynonym;
// Add class/struct name BEFORE opening brace
if (mTokenizer[mIndex]->text.front() != '{') {

View File

@ -909,7 +909,7 @@ void CodeCompletionPopup::getCompletionListForTypeKeywordComplex(const QString &
}
}
void CodeCompletionPopup::getCompletionListForNamespaces(const QString &preWord,
void CodeCompletionPopup::getCompletionListForNamespaces(const QString &/*preWord*/,
const QString& fileName,
int line)
{

View File

@ -334,9 +334,8 @@ const PHighlighterAttribute &ASMHighlighter::getTokenAttribute() const
case TokenId::Unknown:
return mIdentifierAttribute;
default:
break;
return mIdentifierAttribute;
}
return PHighlighterAttribute();
}
int ASMHighlighter::getTokenPos()