@@ -2926,7 +2926,7 @@ std::string Function::fullName() const
29262926 if (!s->className .empty ())
29272927 ret = s->className + " ::" + ret;
29282928 }
2929- ret += " ( " ;
2929+ ret += ' ( ' ;
29302930 for (const Variable &a : argumentList)
29312931 ret += (a.index () == 0 ? " " : " ," ) + a.name ();
29322932 return ret + " )" ;
@@ -2989,7 +2989,7 @@ static bool usingNamespace(const Scope *scope, const Token *first, const Token *
29892989 std::string nsName;
29902990 while (start && start->str () != " ;" ) {
29912991 if (!nsName.empty ())
2992- nsName += " " ;
2992+ nsName += ' ' ;
29932993 nsName += start->str ();
29942994 start = start->next ();
29952995 }
@@ -4431,14 +4431,14 @@ void SymbolDatabase::printXml(std::ostream &out) const
44314431 outs += " <scope" ;
44324432 outs += " id=\" " ;
44334433 outs += id_string (&*scope);
4434- outs += " \" " ;
4434+ outs += ' " ' ;
44354435 outs += " type=\" " ;
44364436 outs += scopeTypeToString (scope->type );
4437- outs += " \" " ;
4437+ outs += ' " ' ;
44384438 if (!scope->className .empty ()) {
44394439 outs += " className=\" " ;
44404440 outs += ErrorLogger::toxml (scope->className );
4441- outs += " \" " ;
4441+ outs += ' " ' ;
44424442 }
44434443 if (scope->bodyStart ) {
44444444 outs += " bodyStart=\" " ;
@@ -4453,17 +4453,17 @@ void SymbolDatabase::printXml(std::ostream &out) const
44534453 if (scope->nestedIn ) {
44544454 outs += " nestedIn=\" " ;
44554455 outs += id_string (scope->nestedIn );
4456- outs += " \" " ;
4456+ outs += ' " ' ;
44574457 }
44584458 if (scope->function ) {
44594459 outs += " function=\" " ;
44604460 outs += id_string (scope->function );
4461- outs += " \" " ;
4461+ outs += ' " ' ;
44624462 }
44634463 if (scope->definedType ) {
44644464 outs += " definedType=\" " ;
44654465 outs += id_string (scope->definedType );
4466- outs += " \" " ;
4466+ outs += ' " ' ;
44674467 }
44684468 if (scope->functionList .empty () && scope->varlist .empty ())
44694469 outs += " />\n " ;
@@ -4493,7 +4493,7 @@ void SymbolDatabase::printXml(std::ostream &out) const
44934493 if (function->access == AccessControl::Public || function->access == AccessControl::Protected || function->access == AccessControl::Private) {
44944494 outs += " access=\" " ;
44954495 outs += accessControlToString (function->access );
4496- outs +=" \" " ;
4496+ outs += ' " ' ;
44974497 }
44984498 if (function->isOperator ())
44994499 outs += " isOperator=\" true\" " ;
@@ -4514,7 +4514,7 @@ void SymbolDatabase::printXml(std::ostream &out) const
45144514 if (const Function* overriddenFunction = function->getOverriddenFunction ()) {
45154515 outs += " overriddenFunction=\" " ;
45164516 outs += id_string (overriddenFunction);
4517- outs += " \" " ;
4517+ outs += ' " ' ;
45184518 }
45194519 if (function->isAttributeConst ())
45204520 outs += " isAttributeConst=\" true\" " ;
@@ -4559,7 +4559,7 @@ void SymbolDatabase::printXml(std::ostream &out) const
45594559 outs += id_string (&type);
45604560 outs += " \" classScope=\" " ;
45614561 outs += id_string (type.classScope );
4562- outs += " \" " ;
4562+ outs += ' " ' ;
45634563 if (type.derivedFrom .empty ()) {
45644564 outs += " />\n " ;
45654565 continue ;
@@ -4569,16 +4569,16 @@ void SymbolDatabase::printXml(std::ostream &out) const
45694569 outs += " <derivedFrom" ;
45704570 outs += " access=\" " ;
45714571 outs += accessControlToString (baseInfo.access );
4572- outs += " \" " ;
4572+ outs += ' " ' ;
45734573 outs += " type=\" " ;
45744574 outs += id_string (baseInfo.type );
4575- outs += " \" " ;
4575+ outs += ' " ' ;
45764576 outs += " isVirtual=\" " ;
45774577 outs += bool_to_string (baseInfo.isVirtual );
4578- outs += " \" " ;
4578+ outs += ' " ' ;
45794579 outs += " nameTok=\" " ;
45804580 outs += id_string (baseInfo.nameTok );
4581- outs += " \" " ;
4581+ outs += ' " ' ;
45824582 outs += " />\n " ;
45834583 }
45844584 outs += " </type>\n " ;
@@ -5954,7 +5954,7 @@ static std::string getTypeString(const Token *typeToken)
59545954 if (typeToken->str () == " <" ) {
59555955 for (const Token *tok = typeToken; tok != typeToken->link (); tok = tok->next ())
59565956 ret += tok->str ();
5957- ret += " > " ;
5957+ ret += ' > ' ;
59585958 typeToken = typeToken->link ()->next ();
59595959 }
59605960 }
@@ -8339,7 +8339,7 @@ std::string ValueType::dump() const
83398339 ret += " valueType-type=\" container\" " ;
83408340 ret += " valueType-containerId=\" " ;
83418341 ret += id_string (container);
8342- ret += " \" " ;
8342+ ret += ' " ' ;
83438343 break ;
83448344 }
83458345 case ITERATOR:
0 commit comments