MCPcopy Create free account
hub / github.com/beefytech/Beef / ShouldShowStaticMember

Method ShouldShowStaticMember

IDEHelper/WinDebugger.cpp:5561–5568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5559}
5560
5561bool WinDebugger::ShouldShowStaticMember(DbgType* dbgType, DbgVariable* member)
5562{
5563 // If locationData is non-null, that means it was added in addition to the static declaration in the CV type info,
5564 // so only add the names from the type definition
5565 auto flavor = dbgType->mCompileUnit->mDbgModule->mDbgFlavor;
5566 return ((((dbgType->IsNamespace()) || (flavor != DbgFlavor_MS)) && ((member->mLocationData != NULL) || member->mIsConst)) ||
5567 ((flavor == DbgFlavor_MS) && (member->mLocationData == NULL)));
5568}
5569
5570String WinDebugger::GetMemberList(DbgType* dbgType, const StringImpl& expr, bool isPtr, bool isStatic, bool forceCast, bool isSplat, bool isReadOnly)
5571{

Callers

nothing calls this directly

Calls 1

IsNamespaceMethod · 0.80

Tested by

no test coverage detected