diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/util.cpp b/src/util.cpp index c71d3c7..32a47df 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -6844,45 +6844,6 @@ bool fileVisibleInIndex(const FileDef *fd,bool &genSourceFile) ); } -void addDocCrossReference(MemberDefMutable *src,MemberDefMutable *dst) -{ - if (src==0 || dst==0) return; - //printf("--> addDocCrossReference src=%s,dst=%s\n",src->name().data(),dst->name().data()); - if (dst->isTypedef() || dst->isEnumerate()) return; // don't add types - if ((dst->hasReferencedByRelation() || dst->hasCallerGraph()) && - src->showInCallGraph() - ) - { - dst->addSourceReferencedBy(src); - MemberDefMutable *mdDef = toMemberDefMutable(dst->memberDefinition()); - if (mdDef) - { - mdDef->addSourceReferencedBy(src); - } - MemberDefMutable *mdDecl = toMemberDefMutable(dst->memberDeclaration()); - if (mdDecl) - { - mdDecl->addSourceReferencedBy(src); - } - } - if ((src->hasReferencesRelation() || src->hasCallGraph()) && - src->showInCallGraph() - ) - { - src->addSourceReferences(dst); - MemberDefMutable *mdDef = toMemberDefMutable(src->memberDefinition()); - if (mdDef) - { - mdDef->addSourceReferences(dst); - } - MemberDefMutable *mdDecl = toMemberDefMutable(src->memberDeclaration()); - if (mdDecl) - { - mdDecl->addSourceReferences(dst); - } - } -} - //-------------------------------------------------------------------------------------- /*! @brief Get one unicode character as an unsigned integer from utf-8 string |