summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2018-11-05 16:58:13 (GMT)
committerJoe George <joe@zeroc.com>2018-11-05 16:58:13 (GMT)
commite81a74499ef2deff2112ff2eabe1015f76588120 (patch)
tree89f124a1d9460913be70d75c32a14e30a4dbdf66 /src/util.cpp
parentd5fd75574bc816e95f1bcdcdb8e2121949d484d8 (diff)
parent9440d7ce0b31749b6bbb13e70e2f7ed501505c7e (diff)
downloadDoxygen-e81a74499ef2deff2112ff2eabe1015f76588120.zip
Doxygen-e81a74499ef2deff2112ff2eabe1015f76588120.tar.gz
Doxygen-e81a74499ef2deff2112ff2eabe1015f76588120.tar.bz2
Merge remote-tracking branch 'doxygen/master'
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/util.cpp b/src/util.cpp
index c76304b..76691d1 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -8530,12 +8530,9 @@ bool fileVisibleInIndex(FileDef *fd,bool &genSourceFile)
void addDocCrossReference(MemberDef *src,MemberDef *dst)
{
- static bool referencedByRelation = Config_getBool(REFERENCED_BY_RELATION);
- static bool referencesRelation = Config_getBool(REFERENCES_RELATION);
-
//printf("--> addDocCrossReference src=%s,dst=%s\n",src->name().data(),dst->name().data());
if (dst->isTypedef() || dst->isEnumerate()) return; // don't add types
- if ((referencedByRelation || dst->hasCallerGraph()) &&
+ if ((dst->hasReferencedByRelation() || dst->hasCallerGraph()) &&
src->showInCallGraph()
)
{
@@ -8551,7 +8548,7 @@ void addDocCrossReference(MemberDef *src,MemberDef *dst)
mdDecl->addSourceReferencedBy(src);
}
}
- if ((referencesRelation || src->hasCallGraph()) &&
+ if ((src->hasReferencesRelation() || src->hasCallGraph()) &&
src->showInCallGraph()
)
{