@@ -2733,7 +2733,7 @@ void MemberDefImpl::getLabels(QStrList &sl,const Definition *container) const
2733
2733
isFriend () || isRelated () ||
2734
2734
(isInline () && inlineInfo) ||
2735
2735
isSignal () || isSlot () ||
2736
- isStatic () ||
2736
+ isStatic () || isExternal () ||
2737
2737
(getClassDef () && getClassDef ()!=container && container->definitionType ()==TypeClass) ||
2738
2738
(m_impl->memSpec & ~Entry::Inline)!=0
2739
2739
)
@@ -2745,7 +2745,7 @@ void MemberDefImpl::getLabels(QStrList &sl,const Definition *container) const
2745
2745
// ol.docify(" [");
2746
2746
SrcLangExt lang = getLanguage ();
2747
2747
bool optVhdl = lang==SrcLangExt_VHDL;
2748
- bool extractPrivate = Config_getBool (EXTRACT_PRIVATE);
2748
+ static bool extractPrivate = Config_getBool (EXTRACT_PRIVATE);
2749
2749
if (optVhdl)
2750
2750
{
2751
2751
sl.append (theTranslator->trVhdlType (getMemberSpecifiers (),TRUE ));
@@ -2756,7 +2756,8 @@ void MemberDefImpl::getLabels(QStrList &sl,const Definition *container) const
2756
2756
else if (isRelated ()) sl.append (" related" );
2757
2757
else
2758
2758
{
2759
- if (Config_getBool (INLINE_INFO) && isInline ()) sl.append (" inline" );
2759
+ if (isExternal ()) sl.append (" extern" );
2760
+ if (inlineInfo && isInline ()) sl.append (" inline" );
2760
2761
if (isExplicit ()) sl.append (" explicit" );
2761
2762
if (isMutable ()) sl.append (" mutable" );
2762
2763
if (isStatic ()) sl.append (" static" );
0 commit comments