@@ -2227,50 +2227,6 @@ bool matchTemplateArguments(const ArgumentList &srcAl,const ArgumentList &dstAl)
22272227
22282228// ---------------------------------------------------------------------------------------
22292229
2230- static void findMembersWithSpecificName (const MemberName *mn,
2231- const QCString &args,
2232- bool checkStatics,
2233- const FileDef *currentFile,
2234- bool checkCV,
2235- std::vector<const MemberDef *> &members)
2236- {
2237- // printf(" Function with global scope name '%s' args='%s'\n",
2238- // mn->memberName(),args);
2239- for (const auto &md_p : *mn)
2240- {
2241- const MemberDef *md = md_p.get ();
2242- const FileDef *fd=md->getFileDef ();
2243- const GroupDef *gd=md->getGroupDef ();
2244- // printf(" md->name()='%s' md->args='%s' fd=%p gd=%p current=%p ref=%s\n",
2245- // qPrint(md->name()),args,fd,gd,currentFile,qPrint(md->getReference()));
2246- if (
2247- ((gd && gd->isLinkable ()) || (fd && fd->isLinkable ()) || md->isReference ()) &&
2248- md->getNamespaceDef ()==nullptr && md->isLinkable () &&
2249- (!checkStatics || (!md->isStatic () && !md->isDefine ()) ||
2250- currentFile==nullptr || fd==currentFile) // statics must appear in the same file
2251- )
2252- {
2253- bool match=TRUE ;
2254- if (!args.isEmpty () && !md->isDefine () && args!=" ()" )
2255- {
2256- const ArgumentList &mdAl = md->argumentList ();
2257- auto argList_p = stringToArgumentList (md->getLanguage (),args);
2258- match=matchArguments2 (
2259- md->getOuterScope (),fd,&mdAl,
2260- Doxygen::globalScope,fd,argList_p.get (),
2261- checkCV,md->getLanguage ());
2262- }
2263- if (match)
2264- {
2265- // printf("Found match!\n");
2266- members.push_back (md);
2267- }
2268- }
2269- }
2270- }
2271-
2272- // ---------------------------------------------------------------------------------------
2273-
22742230GetDefResult getDefs (const GetDefInput &input)
22752231{
22762232 GetDefResult result;
0 commit comments