MCPcopy Create free account
hub / github.com/KDAB/GammaRay / declarationLocation

Method declarationLocation

core/objectdataprovider.cpp:93–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93SourceLocation ObjectDataProvider::declarationLocation(const QObject *obj)
94{
95 SourceLocation loc;
96 if (!obj)
97 return loc;
98
99 foreach (auto provider, *s_providers()) {
100 loc = provider->declarationLocation(obj);
101 if (loc.isValid())
102 return loc;
103 }
104
105 return loc;
106}
107}

Callers 1

foreachFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected