prevent spamming in CppDeclarationToDefinition