@@ -3154,7 +3154,7 @@ bool TemplateSimplifier::simplifyTemplateInstantiations(
31543154 (!typeParametersInDeclaration.empty () && !instantiateMatch (tok2, typeParametersInDeclaration.size (), templateDeclaration.isVariadic (), nullptr ))) {
31553155 if (printDebug && mErrorLogger ) {
31563156 std::list<const Token *> callstack (1 , tok2);
3157- mErrorLogger ->reportErr (ErrorMessage (callstack, &mTokenList , Severity::debug, " debug " ,
3157+ mErrorLogger ->reportErr (ErrorMessage (callstack, &mTokenList , Severity::debug, " templateInstantiation " ,
31583158 " Failed to instantiate template \" " + instantiation.name () + " \" . The checking continues anyway." , Certainty::normal));
31593159 }
31603160 if (typeForNewName.empty ())
@@ -3232,7 +3232,7 @@ bool TemplateSimplifier::simplifyTemplateInstantiations(
32323232 if (typeForNewName.empty ()) {
32333233 if (printDebug && mErrorLogger ) {
32343234 std::list<const Token *> callstack (1 , tok2);
3235- mErrorLogger ->reportErr (ErrorMessage (callstack, &mTokenList , Severity::debug, " debug " ,
3235+ mErrorLogger ->reportErr (ErrorMessage (callstack, &mTokenList , Severity::debug, " templateInstantiation " ,
32363236 " Failed to instantiate template \" " + templateDeclaration.name () + " \" . The checking continues anyway." , Certainty::normal));
32373237 }
32383238 return false ;
0 commit comments